I can't access XAMPP phpMyAdmin; it says: Error MySQL said: Documentation Cannot connect: invalid settings

前端 未结 2 564
误落风尘
误落风尘 2021-02-11 00:21

Full error message:

Error
MySQL said: Documentation
Cannot connect: invalid settings. 
Connection for controluser as defined in your configuration failed.
phpM         


        
2条回答
  •  悲哀的现实
    2021-02-11 01:07

    I found the answer in StackOverflow. In "config.inc.php" file, I changed 'config' to 'cookie'. Here is the answer quoted from StackOverflow:

    Step 1:

    Locate phpMyAdmin installation path.

    Step 2:

    Open phpMyAdmin>config.inc.php in your favourite text editor.

    Step 3:

    Search for $cfg['Servers'][$i]['auth_type'] = 'config';

    Replace it with $cfg['Servers'][$i]['auth_type'] = 'cookie';

提交回复
热议问题