云数据库 GAUSSDB(FOR MYSQL)-canal工具报错权限不足:场景描述
场景描述
在搭建canal环境,使用指定用户从 GaussDB (for MySQL)获取Binlog时,启动canal经常会报如下错误:'show master status' has an error! Access denied: you need (at least one of) the SUPER, REPLICATION CLIENT privilege(s) for this operation
完整报错信息如下:
2021-01-10 23:58:32.964 [destination = evoicedc , address = /dbus-mysql:3306 , EventParser] ERROR com.alibaba.ot ter.canal.common.alarm.LogAlarmHandler - destination:evoicedc[com.alibaba.otter.canal.parse.exception.CanalParseEx ception: command : 'show master status' has an error! Caused by: java.io.IOException: ErrorPacket [errorNumber=1227, fieldCount=-1, message=Access denied; you need (at least one of) the SUPER, REPLICATION CLIENT privilege(s) for this operation, sqlState=42000, sqlStateMarker=#] with command: show master status at com.alibaba.otter.canal.parse.driver.mysql.MysqlQueryExecutor.query(MysqlQueryExecutor.java:61)
- GaussDB内存_云数据库GaussDB内存_高斯数据库内存-华为云
- GaussDB集群搭建_SQL数据库是谁发明的_高斯数据库集群搭建_华为云
- 云数据库GaussDB(for MySQL)_兼容MySQL
- GaussDB(for MySQL)包周期容量变更_包周期库扩容_变更CPU_存储扩容
- GaussDB(for MySQL)一致性级别_事务拆分_读写分离
- 免费云数据库MySQL_MySQL数据库免费_MySQL数据库是免费的吗
- 云数据库 GaussDB(for MySQL)与RDS for MySQL的区别
- MySQL数据库_查看MySQL数据库版本_免费MySQL数据库
- GaussDB权限管理_GaussDB数据库权限管理_高斯数据库权限管理_华为云
- GaussDB(for MySQL)读写分离_数据库代理_Proxy事务拆分