在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
知识只有共享才能传播,才能推崇出新的知识,才能学到更多,这里写的每一篇文字/博客,基本都是从网上查询了一下资料然后记录下来,也有些是原滋原味搬了过来,也有时加了一些自己的想法