PostgreSQL
(Adding message template to the top of the page)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{message|Write the content here to display this box}}
<message>Write the content here to display this box</message>
PostgreSQL
PostgreSQL
# Install, remember pwd,  
# Install, remember pwd,  
Line 10: Line 10:
# Connectionstring takes this form:  
# Connectionstring takes this form:  
## Server=localhost;Port=5432;User Id=postgres;Password=<yourpwd>;Database=First;Include Error Detail=True
## Server=localhost;Port=5432;User Id=postgres;Password=<yourpwd>;Database=First;Include Error Detail=True
Install an [[MDrivenServer Summarized|MDrivenServer]] or start MDrivenServerCore, and set Connection Type, and connection string:
Install an [[Training:MDrivenServer Summarized|MDrivenServer]] or start MDrivenServerCore, and set Connection Type, and connection string:
[[File:MDrPostgreSQL.png|none|thumb|566x566px]]
[[File:MDrPostgreSQL.png|none|thumb|566x566px]]
{{Edited|July|12|2024}}
{{Edited|July|12|2025}}
[[Category:MDriven Server]]
[[Category:MDriven Server]]

Latest revision as of 05:21, 29 January 2025

This page was created by Hans.karlsen@mdriven.net on 2023-10-02. Last edited by Stephanie@mdriven.net on 2025-01-29.

PostgreSQL

  1. Install, remember pwd,
  2. C:\Program Files\PostgreSQL\16\pgAdmin 4\runtime>pgAdmin4.exe
    • Register server, localhost:5432
    • Create Database, First
  3. Run C:\Program Files\PostgreSQL\16\pg_env.bat
  4. C:\Program Files\PostgreSQL\16\bin>psql.exe dbname=First (case sensitive)
    • Just make sure it works...
  5. Connectionstring takes this form:
    1. Server=localhost;Port=5432;User Id=postgres;Password=<yourpwd>;Database=First;Include Error Detail=True

Install an MDrivenServer or start MDrivenServerCore, and set Connection Type, and connection string:

MDrPostgreSQL.png