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

前端 未结 15 2018
北海茫月
北海茫月 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:03

    @guzuer

    Change the value of

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

    in your ~/xampp/phpMyAdmin/config.inc.php

    Here my username is groot and password is groot.

    At the time of writing this answer, I had this issue and i fixed it by looking up your question.

提交回复
热议问题