MySQL#1045报错 - Access denied for user...

在使用phpMyAdmin管理mysql时出现下面提示欢迎使用 phpMyAdmin 2.10.3Probably reason of this is that you did not create configuration file. You might want to use setup script to create one.错误MySQL 返回: #1045 - Access denied for user 'root'@'localhost' (using password: NO)在dos下连接是正常的,而且config.inc.php文件中的密码也改了,就是网页中不行.

操作方法

  • 01

    问题表示连接mysql的时候没有填写密码网页上连不上,那应该是你配置文件中的设定与 MySQL 默认权限账户(没有密码的 root)不对应造成的。

  • 02

    在phpMyAdmin中,使用文件config.inc.php保存用户名和密码,当需要更换用户或用户口令更改时,必须修改config.inc.php文件,然后再上传。

(0)

相关推荐