【发布时间】:2014-09-21 21:44:25
【问题描述】:
我已经从我的 ovh 服务器上的 repo 安装了 php5、apache2、postgresql、phppgadmin..., 并为我的 IP 地址配置了 conf.d/phppgadmin。
order deny,allow
# deny from all
allow from 192.168.0.47 ::1/128
# allow from all
当我转到 my-server/phppgadmin/ 并尝试使用默认的“postgres”登录名、无密码和“root”密码连接自己时,我总是收到失败连接消息...(Échec de la连接)
但是,我设置了线
$conf['extra_login_security'] = false
在 /etc/phppgadmin/config.inc.php 文件中,设置为 false,但没有任何改变...
我还在控制台中创建了一个新用户:
su postgres
createuser myuser
并设置密码:
psql template1
ALTER USER myuser password 'mypassword'
然后重启 Postgresql:
/etc/init.d/postgresql restart
但我还是无法在phppgadmin/中连接!
非常感谢您的帮助,我不知道出了什么问题...
【问题讨论】:
标签: sql linux apache postgresql debian