修改mysql密码时遇见ERROR 1064 (42000) You have an error in your SQL syntax; check the manual that correspo
生活随笔
收集整理的這篇文章主要介紹了
修改mysql密码时遇见ERROR 1064 (42000) You have an error in your SQL syntax; check the manual that correspo
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
修改mysql密碼時遇見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 ‘password(‘123456’)’ at line 1報錯
如下圖:
這個句子翻譯過來的意思是:您的SQL語法有錯誤;請查看MySQL服務器版本對應的手冊,在第1行的“password(‘123456’)”附近使用正確的語法。
這是我在找的代碼嘿嘿:ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';
用起來還不錯,已經成功了
注意:后面有個“;”符號啊!!!
https://blog.csdn.net/hanhanwanghaha一個超級無敵可愛的人鴨 歡迎您的關注!
歡迎關注微信公眾號:寶藏女孩的成長日記
如有轉載,請注明出處(如不注明,盜者必究)
總結
以上是生活随笔為你收集整理的修改mysql密码时遇见ERROR 1064 (42000) You have an error in your SQL syntax; check the manual that correspo的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 修改mysql锁空间大小
- 下一篇: [Swift]LeetCode1153.