原文: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