原文:#1045 - Access denied for user 'root'@'localhost' (using password: NO)

解决办法 打开 phpmyadmin里的config.inc.php文件 cfg Servers i host localhost cfg Servers i port cfg Servers i connect type socket cfg Servers i extension mysql cfg Servers i auth type config cfg Servers i user r ...

2014-09-25 15:21 0 24599 推荐指数:

查看详情

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

  在安装好的MySQL服务器上,配置了环境变量之后,发现用mysql无法登录,报如题的错误,实在没有办法,决定用安全模式对root用户修改密码:   首先关闭正在运行的MySQL;   在一个终端窗口运行命令:mysqld_safe --user=mysql ...

Wed Dec 21 06:18:00 CST 2016 0 13394
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM