--- tags: 技術資料統整 --- PostgreSQL - pgAdmin 圖形化介面 === [](https://hackmd.io/3rYdXIPUQWOH7E953-dbXA) :::info 開啟 pgAdmin 的一些設定 ::: #### 在 pgAdmin 中建立 Server 1. General 中 輸入 Name >專案名稱: Stork  2. Connection 中輸入 Host (name/address) >目前本地端: localhost  3. port: 5432 >default port number 4. Maintenance database >default: postgres 5. Username >default: postgres 預設會填寫 postgres 6. Password >default: empty #### 按下儲存後出現的錯誤 1. [psql: FATAL: role “postgres” does not exist](https://stackoverflow.com/questions/15301826/psql-fatal-role-postgres-does-not-exist) > Ctrl + F --> "user3402754" 's answer >e.g. 這是將 Username輸入為test, 出現同樣錯誤的示意圖  在 Terminal 中輸入 建立 Username 為 postgres 的指令: ```console /usr/local/opt/postgres/bin/createuser -s postgres ``` --- Resources --- https://ithelp.ithome.com.tw/articles/10218435
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up