“Connection for controluser as defined in your configuration failed” with phpMyAdmin in XAMPP

前端 未结 12 2207
执念已碎
执念已碎 2020-11-27 09:07

I have just installed XAMPP on my Windows XP machine, and I get an error saying:

Connection for controluser as defined in your configuration failed.

12条回答
  •  粉色の甜心
    2020-11-27 10:05

    Having just installed the XAMPP today, I decided to use a different default port for mysql, which was horrible. Make sure to add these lines to the phpMyAdmin config.inc.php:

    $cfg['Servers'][$i]['host'] = 'localhost';
    
    $cfg['Servers'][$i]['port'] = 'port';`
    

提交回复
热议问题