问题是我无法访问数据库,但我仍然无法登录,但我检查了密码,确定无误.我使用以下内容:
>用户名:管理员
>密码:123
尝试阅读问题的尝试失败了.我从PHPPgAdmin遇到了一些神秘的常见问题解答
Login errors
Q: I always get “Login Failed” even though I’m sure I’m using the right username and password.
A: There are a number of reasons why you might not be able to connect,typically having nothing to do with PHPPgAdmin itself. First check the Postgres log on your server,it should contain a Fatal error message detailing the exact reason why the login is failing. You will probably need to either adjust the username or password,add LOGIN permissions to the role,or adjust your pg_hba.conf file in your Postgres data dir; so follow the directions laid out in the FATAL message.
>您可能需要调整用户名和密码:(已尝试多次)
>为角色添加LOGIN权限(这个怪人的东西到底是什么?)
>调整pg_hba.conf(为什么新手必须编辑任何配置?)
经过几次徒劳的尝试几乎放弃了.
题
什么是最无痛的获取PHP,postgresql工作的方式(设置文件更喜欢从源代码构建)谢谢.
编辑:我正在运行Windows XP SP2.
新手必须编辑pg_hba.conf以使其更容易,因为安装默认设置为安全.您可能希望安装最简单的设置,但这样的设置会让您更容易被黑客入侵. BitNami已经选择了他们认为这两个密码系统在安全性和易用性之间的合理平衡.