Error #1045 Access Denied in PhpMyAdmin

前提是你 提交于 2019-12-19 07:06:11

问题


Basically I changed the password of MySQL via CMD and after that when I tried to visit the phpmyadmin page it shows me Error #1045 Access Denied.

I would like to how to fix this problem. Thanks in advance.


回答1:


Go to phpMyAdmin folder (in my case it is C:\wamp\apps\phpmyadmin3.2.0.1). In the file config.inc.php change the line

$cfg['Servers'][$i]['auth_type'] = 'config'

to

$cfg['Servers'][$i]['auth_type'] = 'cookie'

Now the password will be asked on your first visit of the phpMyAdmin page




回答2:


you have to change the database password value in C:\wamp\apps\phpmyadmin3.4.5\config.inc.php into your MySQL database password

ex:- $cfg['Servers'][$i]['password'] = 'yourMySQLpassword';




回答3:


Simply, clear your cache and refresh the page. That should help you out!




回答4:


You might need to change the password in the PPHMyAdmin config-db.php file.



来源:https://stackoverflow.com/questions/5287147/error-1045-access-denied-in-phpmyadmin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!