postgresql安装 windows

1、postgresql安装 windows双击安装文件(以管理员身份运行)

2、点击next

postgresql安装 windows

3、选择路径后,next

postgresql安装 windows

4、点击next

postgresql安装 windows

5、选择路径,点击next

postgresql安装 windows

6、设置密码,点击next。默认123

postgresql安装 windows

7、设置端口(一般默认)

postgresql安装 windows

8、点击next-》next-》next

postgresql安装 windows

postgresql安装 windows

postgresql安装 windows

9、等待安装完成,去掉勾,点击finish

postgresql安装 windows

10、配置配置文件postgres.conf 、pg_hba.conf

postgresql.conf:配置PostgreSQL数据库服务器的相应的参数

postgresql安装 windows 

pg_hba.conf:配置对数据库的访问权限

postgresql安装 windows

11、重启服务