尝试连接phpmyadmin ampps时无法登录MySQL服务器错误

时间:2019-02-20 04:22:45

标签: php mysql phpmyadmin xampp ampps

我执行以下命令:

GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY 'password';

它突然停止我的phpmyadmin面板,每次都给我以下错误:

无法登录MySQL服务器

下面列出的我的配置设置在config.inc.php中:

$cfg['Servers'][$i]['verbose'] = '';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '3306';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '123456';

仍然,我无法登录Phpmyadmin面板。

0 个答案:

没有答案