Feng’ Blog

PostgreSQL 绿色版安装及初始化
程序下载地址:https://www.enterprisedb.com/download-postgresql-b...
扫描右侧二维码阅读全文
16
2017/11

PostgreSQL 绿色版安装及初始化

postgresql123213123213.png

程序下载地址:https://www.enterprisedb.com/download-postgresql-binaries

Step 1 下载及准备
下载适合自己的版本,解压到适当的目录;

Step 2 初始化

查看帮助

initdb --help

执行初始化

initdb -D %CD%/../data -E UTF-8 --locale=chs -U openerp -W

Step 3 启动

"%CD%"runtimepgsqlbinpg_ctl -D "%CD%"runtimepgsqldata -l "%CD%"runtimepgsqllogfile start
Last modification:January 8th, 2019 at 09:02 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment