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

请问同一个mysql中不同库,字典、用户等表数据同步,可以用吗?是不是一定要2个以上mysql? #801

Open
zwxxzhl opened this issue Jun 17, 2023 · 1 comment

Comments

@zwxxzhl
Copy link

zwxxzhl commented Jun 17, 2023

知道时使用全局表,但是怎么配置都行不通,有懂的吗,网上都是多库多表案例,非常感谢;

还有一个问题,mycat与mysql中库名与表名必须一致吗?那么假设是同一个mysql,库名绝对不可能一致,配置中好像没看到配置别名的。
配置数据源mysql的url地址中数据库名,好像 不配置 或者 名字不一样 也没关系,只代表账号密码等关键信息吗?

@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