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 statement, using join query, other libraries, causing the library name to be replaced #31311

Open
hmkelntuh085 opened this issue May 20, 2024 · 1 comment

Comments

@hmkelntuh085
Copy link

For example:
When I set up read-write separation, write uses the a library and read uses the b library.
SQL:
select * from b.in_order_dt orderd
inner join c.erp_tm_sku sku
on orderd.sku_id = sku.id

The last executed SQL is:
select * from b.in_order_dt orderd
inner join b.erp_tm_sku sku
on orderd.sku_id = sku.id

How should I configure it so that my library name is not replaced?

THANKS

@terrymanu
Copy link
Member

What is libraries and library name?

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

No branches or pull requests

2 participants