postgreSQL 命令行方式建立數據庫及表

第一步 :建立超級用戶 >createuser -U postgres -s -P -e samysql 說明:sql    -U postgres  使用 postgres 用戶 建立一個超級用戶 sa 數據庫    -s  表示建立的是超級用戶post    -P  表示要設置密碼table    -e  表示命令進行回顯密碼     第二步:建立數據庫 createdb -p 5432 -e
相關文章
相關標籤/搜索