mysql said: Cannot connect: invalid settings. xampp

前端 未结 19 1320
闹比i
闹比i 2020-12-01 00:11

I changed the root password to test and now I cannot login in phpMyAdmin page in XAMPP. I looked for help here and here which basically says changed config.inc.php

19条回答
  •  一生所求
    2020-12-01 00:36

    Put generated password in config.inc.php if you changed root user password. I was repeatedly putting password that it asks in phpmyadmin and not generated password.

    Being a noob in php and just starting out in xampp, I changed root user password and phpmyadmin has generate password button which generates password that's suppose to get updated in config.inc.php files line but it didn't so I manually updated it.

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

    On the other hand, this might also help, it involves adding a line to resetroot.bat

提交回复
热议问题