【发布时间】:2015-03-04 11:36:40
【问题描述】:
我正在尝试将 phpMyAdmin 升级到 4.3.4(最新版本)
我是备份(我的原封不动)config.inc.php 文件并把它放回去
在 phpMyAdmin 目录上。
因为我没有在 root 上使用密码,所以我收到了 (2) 条错误消息。
1.
The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. Find out why.
Or alternately go to 'Operations' tab of any database to set it up there
2.
Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole by setting a password for user 'root'.
所以我试图纠正它们并从最简单的一个开始,并在我的config.inc.php 文件中输入密码...猜猜这是一个新错误(拒绝访问)。
错误
Cannot connect: invalid settings.
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
如果我完全删除 config.inc.php 文件,我将进入登录屏幕,因此我尝试使用默认用户:root pass:(无密码),但未登录。
【问题讨论】:
标签: php sql mysqli phpmyadmin config