設(shè)置MySQLroot賬戶密碼報(bào)錯(cuò)ERROR 1064 (42000): You have an error in your SQL syntax;的解決方案
設(shè)置mysql中的root賬戶密碼出現(xiàn)1064錯(cuò)誤代碼
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 ‘(“123456”) where user=“root”’ at line 1
在安裝mysql的時(shí)候,設(shè)置root賬戶密碼出現(xiàn)了上面的問題
解決方案
ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';
截圖
以上就是設(shè)置MySQLroot賬戶密碼報(bào)錯(cuò)ERROR 1064 (42000): You have an error in your SQL syntax;的解決方案的詳細(xì)內(nèi)容,更多關(guān)于設(shè)置mysql中root密碼出現(xiàn)1064的資料請(qǐng)關(guān)注腳本之家其它相關(guān)文章!
- 解決MySQL登錄報(bào)錯(cuò)1130:1130?Host?***.***.***.***?is?not?allowed?to?connect?to?this?MySQL?server
- MySQL啟動(dòng)報(bào)錯(cuò):Starting MySQL.. ERROR! The server quit without updating PID file的問題分析和解決
- 解決mysql報(bào)錯(cuò):1264-Out of range value for column ‘字段‘ at row 1
- 解決MySQL報(bào)錯(cuò):The last packet sent successfully to the server was 0 milliseconds ago.
相關(guān)文章
MySQL 去除重復(fù)數(shù)據(jù)實(shí)例詳解
這篇文章主要介紹了MySQL 去除重復(fù)數(shù)據(jù)實(shí)例詳解的相關(guān)資料,需要的朋友可以參考下2017-06-06Navicat連接虛擬機(jī)mysql常見錯(cuò)誤問題及解決方法
這篇文章主要介紹了Navicat連接虛擬機(jī)mysql常見錯(cuò)誤問題及解決方法,本文給大家介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或工作具有一定的參考借鑒價(jià)值,需要的朋友可以參考下2020-11-11mysql 5.7 docker 主從復(fù)制架構(gòu)搭建教程
這篇文章主要為大家詳細(xì)介紹了mysql 5.7 docker 主從復(fù)制架構(gòu)搭建教程,感興趣的小伙伴們可以參考一下2016-07-07MySQL的從庫Seconds_Behind_Master延遲總結(jié)
這篇文章主要介紹了MySQL的從庫Seconds_Behind_Master延遲的相關(guān)資料,需要的朋友可以參考下2021-08-08