MySQL 版本:'for the right syntax to use near 'identified by 'password' with grant option'
MySQL 5.7 版本授权语句:
GRANT SELECT, PROCESS, SUPER, REPLICATION CLIENT, RELOAD ON *.* TO 'exporter'@'%' IDENTIFIED BY 'exporterpw';
flush privileges;
执行得到报错:
[2022-08-09 09:18:07] [42000][1064] 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 'IDENTIFIED BY 'exporterpw'' at line 1
昨天将 mysql 版本从 5.7.34 升级到了 8.0.3 ,应该是由于版本升级导致。
mysql 8.0 授权的语句:
create user 'exporter'@'%' identified by 'exporterpw' ;
grant SELECT, PROCESS, SUPER, REPLICATION CLIENT, RELOAD on *.* to 'exporter'@'%' with grant option ;
flush privileges;
MySQL 版本:'for the right syntax to use near 'identified by 'password' with grant option'相关推荐
- mysql版本:'for the right syntax to use near 'identified by 'password' with grant option'
查询mysql具体版本 SELECT @@VERSION 问题分析:mysql版本8.0.13,在给新用户授权时,发生了变化: 1064 - You have an error in your SQL ...
- mysql版本:‘for the right syntax to use near ‘identified by ‘password‘ with grant option‘
查询mysql具体版本 SELECT @@VERSION 问题分析:mysql版本8.0.13,在给新用户授权时,发生了变化: 1064 - You have an error in your SQL ...
- MySQL赋权报错:’the right syntax to use near ‘identified by ‘password‘ with grant option‘
MySQL版本8.0.21,在给新用户授权时,执行如下语句: grant all privileges on *.* to 'root'@'%' identified by '123456' with ...
- syntax to use near ‘identified by “password“‘ at line 1
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your ...
- mysql远程连接权限grant all privileges on *.* to ‘root‘@‘%‘ identified by ‘123456‘ with grant option语句报错
mysql远程连接权限grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option语句报错 记录 ...
- 解决mysql的赋权操作之GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘%‘ IDENTIFIED BY ‘123456‘ WITH GRANT OPTION问题
一种情况 mysql的赋权操作:GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION: ...
- mysql 8.0.21 对用户授权报错 near ‘IDENTIFIED BY ‘123456‘ with grant option‘ at line 1
mysql 8.0.21 对用户授权报错 near 'IDENTIFIED BY '123456' with grant option' at line 1 问题描述 mysql在创建用户,对用户授权 ...
- mysql GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION; ERROR 1819
mysql> GRANT ALL PRIVILEGES ON . TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION; ERROR 1819 ...
- mysql8设置用户权限报错You have an error in your SQL syntax;right syntax to use near ‘IDENTIFIED BY
mysql 8 设置用户权限命令和之前不一样 之前: grant all privileges on *.* to 'myuser'@'%' identified by 'mypassword' wi ...
最新文章
- python之请求报文对比(假定最多二维字典)
- boost::interprocess::windows_shared_memory用法的测试程序
- 怎么用c语言表示大整数的四则运算,用c语言编写大整数的四则运算,求大神
- python操作系统接口错误_Python os模块和sys模块 操作系统的各种接口
- oracle 11g 修改 sga,oracle 11g 调整SGA
- 线路板铜厚测试软件,厚铜线路板的铜厚是如何实现的
- Mybatis返回类型和接收参数为Map类型
- python中对文件的操作_Python对文件操作知识
- vector java 复制_Java代码性能优化的 40+ 细节
- llustrator 教程,如何在 Illustrator 中对齐内容?
- 通过标签向flash传递参数
- BOS物流项目注册流程图
- 基于html超市管理系统,超市管理系统后台模板
- 系分 02 软件工程
- 在线编辑word文档
- 中国教育和科研计算机网 吉林省,吉林大学—41核心节点—热烈庆祝中国教育和科研计算机网CERNET建设20周年—中国教育和科研计算机网CERNET...
- iOS 苹果授权登录(Sign in with Apple)/Apple登录/苹果登录集成教程
- HrbustOJ 1167 每种面值的货币要多少
- 自媒体/新媒体写作技巧
- Opengl ES系列学习--莫比乌斯带