ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '11. set password for 'root'@'localhost'


image
中文意思:設置密碼錯誤1064(42000):你有一個錯誤在你的SQL語法;檢查對應於MySQL服務器版本的手冊,以確定使用'11附近的正確語法。在第1行設置root @ localhost =password('hspedu100')'的密碼

執行這行代碼就可以解決上面這個問題。
ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



猜您在找 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'groups)VALUES('1','hh','hh@163.com','Boss')' at line 1 SQL語句報錯:You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 報錯--->java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delect from testd 【異常】MySQL建表報錯:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"order"' at line 1 修改mysql密碼報錯: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 【報錯】ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds t check the manual that corresponds to your MySQL server version for the right syntax to use near '(0) NULL DEFAULT NULL COMMENT check the manual that corresponds to your MySQL server version for the right syntax to use near check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc MySql 執行語句錯誤:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to usenear 'bookName like '%Java%'' at line 1
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM