Can';t在Windows 7上使用密码-XAMPP登录到phpMyAdmin

Can';t在Windows 7上使用密码-XAMPP登录到phpMyAdmin,phpmyadmin,windows-7,xampp,passwords,Phpmyadmin,Windows 7,Xampp,Passwords,我还将XAMPP安装在LinuxMint上的笔记本电脑上,它工作正常。至少Linux版本提示我设置密码 在Windows上,我使用phpMyAdmin->User Accounts,创建了一个新用户(admin/[password]),给了它全局权限,将config.inc.php改为 $cfg['Servers'][$i]['auth_type'] = 'cookie'; $cfg['Servers'][$i]['user'] = ''; $cfg['Servers'][$i]['passw

我还将XAMPP安装在LinuxMint上的笔记本电脑上,它工作正常。至少Linux版本提示我设置密码

在Windows上,我使用phpMyAdmin->User Accounts,创建了一个新用户(admin/[password]),给了它全局权限,将config.inc.php改为

$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = ''; 
$cfg['Servers'][$i]['password'] = ''; 
$cfg['Servers'][$i]['AllowNoPassword'] = false;
但是当我尝试使用该用户/密码登录时,我不能。我肯定这不是打字错误

错误1045:mysqli_real_connect():(HY000/1045):拒绝用户“admin”@“localhost”的访问(使用密码:是)


我可以以“root”身份登录,config.inc文件设置为“cookie”,AllowNoPassword设置为“true”,或者只需将“auth_type”设置为“config”,phpmyadmin页面就会打开。那么我遗漏了什么呢?

修复了它。我将“主机名”设置为“任意主机[%]”,并将其更改为“本地”。在城市中击倒了他们。这里的偷窥真是太棒了,没有这么快把城市的钥匙交给新手(我)。修好了。我将“主机名”设置为“任意主机[%]”,并将其更改为“本地”。在城市中击倒了他们。这里的偷窥真是太棒了,没有这么快把城市的钥匙交给新手(我)。