首页 > IT职业 > IT职场 > Win7无法启动PostgreSQL怎么办

Win7无法启动PostgreSQL怎么办
PostgreSQL在2003和Win7系统注册成功后,但是无法启动数据库。
解决办法是:修改pgsqldata目录下pg_hba.conf文件。
1、win7修改如下:
# IPv4 local connections: host all all 127.0.0.1/32 trust host all all ::1/128 trust # IPv6 local connections: #host all all ::1/128 trust
2、win2003 修改如下:
# IPv4 local connections: host all all 127.0.0.1/32 trust #host all all ::1/128 trust # IPv6 local connections: #host all all ::1/128 trust
推荐学习:postgresql教程
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/2971/viewspace-2834084/ ,如需转载,请注明出处,否则将追究法律责任。