原文:MySQL 8.0:check the manual that corresponds to your MySQL server version for the right syntax to use near 'identified by 'password'' at line 1

參考文章 :mysql . . 中使用 grant ... identified by 時 error near identified by 密碼 at line . 問題原因 MySQL . 版本之后語法有更新,創建用戶語句和權限修改語句需要分開執行 . 解決方法 創建賬戶:create user 用戶名 訪問主機 identified by 密碼 權限修改:grant 權限列表 on 數據庫 ...

2020-03-23 17:43 1 1058 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM