oceanbase开启租户binlog命令报错

oceanbase开启租户binlog命令报错,完全按照文档命令执行
MySQL [(none)]> CREATE BINLOG FOR TENANT ‘test’.‘obd’ TO USER ‘root’ PASSWORD ‘sys@test_123’ WITH CLUSTER URL ‘http://172.18.90.151:8180/services?Action=ObRootServiceInfo&User_ID=alibaba&UID=ocpmaster&ObRegion=obd’ , REPLICATE NUM 2;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your OceanBase version for the right syntax to use near ‘BINLOG FOR TENANT ‘test’.‘obd’ TO USER ‘root’ PASSWORD ‘sys@test_123’ W’ at line 1
oceanbase版本为

1 个赞

检查一下 binlog版本是否支持ob的版本,命令是否有问题

BINLOG FOR TENANT后面是不是只能跟租户名呢,你这个是租户名.数据库名吧