windows安装PostgreSQL

时间:2021-02-08 12:30:14   收藏:0   阅读:0

下载地址

https://www.enterprisedb.com/downloads/postgres-postgresql-downloads

一直下一步安装就行。

问题1

navicat 连接报错:

authentication method 10 not supported

修改:
D:\soft\postgresql-13.1-1\data\postgresql.conf

listen_addresses = ‘*‘		# what IP address(es) to listen on;
					# comma-separated list of addresses;
					# defaults to ‘localhost‘; use ‘*‘ for all
					# (change requires restart)
					
修改:
D:\soft\postgresql-13.1-1\data\pg_hba.conf
# IPv4 local connections:
#host    all             all             127.0.0.1/32            scram-sha-256
host    all             all             127.0.0.1/32            password
host    all             all             0.0.0.0/0            	password

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!