mysql 8.0.11 中使用 grant ... identified by 時 error 1064 near 'identified by '密碼'' at line 1

1 問題:mysql 當使用 grant 權限列表 on 數據庫 to '用戶名'@'訪問主機' identified by '密碼'; 時會出現"......near 'identified by '密碼'' at line 1"這個錯誤sql 2 緣由:數據庫 由於新版的的mysql版本已經將建立帳戶和賦予權限的方式分開了ide 3解決辦法:spa 建立帳戶:create user '用戶名'
相關文章
相關標籤/搜索