mysql said: Cannot connect: invalid settings. xampp

前端 未结 19 1311
闹比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:45

    In xampp\phpMyAdmin\config.inc.php : changing:

    'config';$cfg['Servers'][$i]['user'] = 'root'
    

    to

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

    and

    $cfg['Servers'][$i]['controluser'] = 'root'
    

    to

    $cfg['Servers'][$i]['controluser'] = 'user'
    

    Solved my Problem.

提交回复
热议问题