Access denied for user 'root'@'localhost' (using password: NO)
今天装完 XAMPP 以后 , 登陆 phpMyAdmin , 因为初始密码为空 , 所以直接就可以进入数据库 , 我删除了几个数据库用户以后 , 就连接报错
Access denied for user 'root'@'localhost' (using password: NO) ;
经过百度搜索 , 最直接的办法是编辑 xampp\phpmyadmin\config.inc.php 文件
$cfg['Servers'][$i]['auth_type'] = 'http'; //http cookie config
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'pwd';
积少成多 共享 交流 进步