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

問題:ERROR : Access denied for user root localhost using password: NO 問題描述:在linux中使用mysql uroot p 輸入密碼提示如上錯誤解決方法: 先停掉原來的服務 service mysqld stop 使用安全模式登陸,跳過密碼驗證 mysqld safe user mysql skip grant tables sk ...

2018-12-27 12:57 0 20671 推薦指數:

查看詳情

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