phpMyAdmin access denied for user 'root'@'localhost' (using password: NO)

前端 未结 15 1835
北海茫月
北海茫月 2021-02-01 06:18

I am unable to connect to my MySQL in xampp I have this error:

MySQL said: Documentation

1045 - Access denied for user \'root\'@\'localhost\'

15条回答
  •  一整个雨季
    2021-02-01 07:19

    found a solution, in my config file I just changed

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

    to

    $cfg['Servers'][$i]['auth_type'] = 'HTTP';
    

提交回复
热议问题