Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mycat 普通配置 导致mysql主从同步失效 #806

Open
nochooseme opened this issue Jul 10, 2023 · 1 comment
Open

Mycat 普通配置 导致mysql主从同步失效 #806

nochooseme opened this issue Jul 10, 2023 · 1 comment

Comments

@nochooseme
Copy link

mycat2 按照案例仅配置一个数据源 主数据库。
mysql 配置了一主一从。
结果导致 从库无法同步数据
从库同步时 报错信息如下:

Error 'Unknown error 1049' on query. Default database: 'test'. Query: 'create table if not exists `mycat`.`xa_log`(`xid` bigint PRIMARY KEY NOT NULL) ENGINE=InnoDB'

发现都在创建mycat.xa_log表,是需要做什么配置吗

@apachemycat
Copy link

可试试直接创建这个表

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants