阿里云/腾讯云 mysql to es WITH MAX_USER_CONNECTIONS 10000
xzm1274913976 opened this issue · comments
[2022/04/07 19:52:48] [error] sync.go:121 parse query(ALTER USER 'xxxx'@'%' WITH MAX_USER_CONNECTIONS 10000) err line 1 column 33 near "WITH MAX_USER_CONNECTIONS 10000"
[2022/04/07 19:52:48] [error] canal.go:230 canal start sync binlog err: line 1 column 33 near "WITH MAX_USER_CONNECTIONS 10000"
[2022/04/07 19:52:48] [error] river.go:297 start canal err line 1 column 33 near "WITH MAX_USER_CONNECTIONS 10000"
同步的账号权限太小,导致新建账户时获取binlog的账户报错 加入view权限即可.
多给两个view权限.
create view
show view