Windows10 64位 安装 Postgresql 数据库
生活随笔
收集整理的這篇文章主要介紹了
Windows10 64位 安装 Postgresql 数据库
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
Windows10 64位 安裝 Postgresql 數(shù)據(jù)庫
?
1,下載Postgresql 10.7 版本,下載地址? ?https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
?
?
2,打開安裝包,傻瓜式默認(rèn)安裝,請謹(jǐn)記 “數(shù)據(jù)庫密碼” 和 “端口號” ,安裝完成后,打開任務(wù)管理器,打開任務(wù),看到postgresql服務(wù)存在,并啟動,說明安裝成功!
?
3,命令控制臺cmd跳轉(zhuǎn)到postgresql的安裝目錄 ,執(zhí)行命令,輸入數(shù)據(jù)庫密碼
c:cd C:\Program Files\PostgreSQL\10\binpsql -p 5433 -U postgres -d postgres# psql -p 端口號 -U 用戶名(默認(rèn)為postgres) -d 數(shù)據(jù)庫名(默認(rèn)為postgres)
?出現(xiàn)如下界面則已經(jīng)成功連接到數(shù)據(jù)庫
?
c:cd C:\Program Files\PostgreSQL\10\binpsql --version # 查看數(shù)據(jù)庫版本號?
posted @ 2019-02-21 17:16 luyanjie 閱讀(...) 評論(...) 編輯 收藏總結(jié)
以上是生活随笔為你收集整理的Windows10 64位 安装 Postgresql 数据库的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: php window.onload,tp
- 下一篇: std::make_unique和 st