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

前端 未结 15 2014
北海茫月
北海茫月 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-01 07:10

    Check /etc/phpmyadmin/config-db.php file

    1. Go to terminal
    2. run vi /etc/phpmyadmin/config-db.php
    3. check the information
    4. Hit Ctrl + X
    5. Try login to phpmyadmin again through the web using the information from the config file.

提交回复
热议问题