原文:#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