PHPMyAdmin doesn't connect after root password change

前端 未结 4 1961
没有蜡笔的小新
没有蜡笔的小新 2020-12-30 12:45

I installed Xampp (for Windows). I was happily using it with its all features.

Then I wanted to change MySql password. I set a randomly generated password (rCZ4Xnz78

相关标签:
4条回答
  • 2020-12-30 13:30

    You need to edit the config.inc file in the phpMyAdmin directory (probably C:\xampp\phpMyAdmin) and change this line to match the password you entered for root in phpMyAdmin.

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

    0 讨论(0)
  • 2020-12-30 13:31

    If you have installed WAMP, go to the [wamp root]\apps[phpmyadmin installation] and find the file config.inc.php. Then you have the change the following entry to the new password of the root user.

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

    save the file and don't forget to restart WAMP services. Now it should work as a charm :)

    0 讨论(0)
  • 2020-12-30 13:37

    Here is the solution for Windows machine: When you changed the root passord to let's say admin and now when you access http://localhost/phpmyadmin you see following screen

    Open XAMPP_SETUP/phpMyAdmin/config.inc.php file change config to cookie and add the password. And again access the http://localhost/phpmyadmin !!

    0 讨论(0)
  • 2020-12-30 13:43

    You need to specify the actual password. Not encrypted password in config file

    0 讨论(0)
提交回复
热议问题