Wamp phpMyAdmin error #1045 - Access denied for user 'root'@'localhost'

前端 未结 7 863
日久生厌
日久生厌 2021-01-02 01:14

This is quite common problem and I found a lot of tutorials to help me solve it, although, there is one additional problem with my case...

This is my config settings

7条回答
  •  天涯浪人
    2021-01-02 02:00

    Did you add a password to the MySQL 'root' userid?

    If not, by default it comes without a password. So use

    $cfg['Servers'][$i]['password'] = '';
    

    and remove this its a defunct parameter since phpMyAdmon 3.2.0

    $cfg['Servers'][$i]['AllowNoPasswordRoot'] = true;
    

提交回复
热议问题