LAMP之路

不积跬步,无以至千里!

登录phpPgAdmin提示:Login disallowed for security reasons.

2012-10-18 一抹阳光 数据库

修改config文件夹中的config.inc.php:
// If extra login security is true, then logins via phpPgAdmin with no
// password or certain usernames (pgsql, postgres, root, administrator)
// will be denied. Only set this false once you have read the FAQ and
// understand how to change PostgreSQL’s pg_hba.conf to enable
// passworded local connections.
$conf['extra_login_security'] = false;