在Windows平台上绿色安装postgresQL

本文使用案例:postgresql-9.6.0-beta3-windows-x64-binaries.rar (win64免安装)

环境:window10,postgresql-9.6.0-beta3

下载地址:http://get.enterprisedb.com/postgresql/postgresql-9.6.0-beta3-windows-x64-binaries.zip

解压目录

进入解压的pgsql的bin目录

执行初始环境命令

initdb.exe -D E:\postgresql\postgresql-9.6.0-beta3-windows-x64-binaries\data -E UTF8

 

 

启动服务

postgres -D e:\postgresql\postgresql-9.6.0-beta3-windows-x64-binaries\data

数据库工具连接:用户名默认使用windows用户名,密码默认postgres

例:huage、postgres

 

 

参考:http://blog.csdn.net/yzj578492228/article/details/51991352

http://blog.csdn.net/ohyoyo2014/article/details/23657479

 

posted @ 2016-08-03 15:14  243573295  阅读(951)  评论(0编辑  收藏  举报