-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[ 问题咨询 ]SQL上线执行语句失败,提示需要SUPER权限 #129
Comments
权限不足, 请按文档设置Mysql账号 https://github.com/hhyo/archery/wiki/%E9%85%8D%E7%BD%AE%E9%A1%B9%E8%AF%B4%E6%98%8E#inception%E9%85%8D%E7%BD%AE 报错信息写着需要 SUPER, REPLICATION CLIENT 权限, 你就给账号这个权限不就行了。。。 为什么create table, insert 不报错, 因为这两个操作选择备份了依然不会备份, 不会涉及到这些权限。 |
应该第五项检查没通过,大家的时间和精力都有限,有问题还是先确认文档
这个问题的根本原因是,如果binlog格式不为ROW,inception会尝试 我也是通过抓包获取inception的执行语句获取到该信息 |
不好意思,耽误你们的时间了。 |
看前面的回复,如果inception尝试更改binlog格式为row,是会在执行前更改还是执行后更改? 其实这点想清楚就好了 |
明白了! |
binlog格式为MIXED可以吗,腾讯云MySQL的binlog格式默认为MIXED,而且腾讯云的MySQL数据库root用户不能修改binlog格式 |
目前不支持非row模式的回滚,只能关闭备份执行 |
我看说明是默认强制要求备份,要怎么改成默认关闭备份呢?:
|
我的生产库的实例binlog日志格式都为statement,但是archery执行sql语句时会设置set session binlog-formart=ROW,这个设置可以取消吗,这导致主从同步断开 |
问题描述
对于正常审核通过的update语句,选择了备份,但是执行时却报错。报错如下:
Execute: Access denied; you need (at least one of) the SUPER, REPLICATION CLIENT privilege(s) for this operation
对于正常审核通过的create table、insert语句,选择了备份,是可以正常执行并备份的。
用户拥有create,select,insert,delete,update权限。
版本信息
The text was updated successfully, but these errors were encountered: