无法使用root(XAMPP)连接到PhpMyAdmin

时间:2017-01-16 11:01:11

标签: php sql phpmyadmin xampp

我无法使用root登录我的PhpMyAdmin,但是当我使用其他用户时我可以。

我不明白为什么,我尝试了很多东西,但没有一个工作

/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* $cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = ''; */
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';

/* Bind to the localhost ipv4 address and tcp */
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$cfg['Servers'][$i]['connect_type'] = 'tcp';

当我尝试将'auth_type'更改为config时,我根本无法连接到PhpMyAdmin!

W7 32位,xampp 5.6.21

0 个答案:

没有答案
相关问题