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

Read replica not used when defined by clientUrl #4813

Closed
Arcus16 opened this issue Oct 11, 2023 · 1 comment
Closed

Read replica not used when defined by clientUrl #4813

Arcus16 opened this issue Oct 11, 2023 · 1 comment

Comments

@Arcus16
Copy link
Contributor

Arcus16 commented Oct 11, 2023

Describe the bug
When I define read replica by clientUrl, the read replica is never used.

Reproduction repository

Expected behavior
The read replica will be used regardless of how is configured.

Versions

Dependency Version
node 20.8.0
typescript 5.2.2
mikro-orm 5.8.7
@mikro-orm/mysql 5.8.7
@B4nan
Copy link
Member

B4nan commented Oct 15, 2023

It's actually only about the database name, the rest of the options seem to be respected.

@B4nan B4nan closed this as completed in 015d4f4 Oct 15, 2023
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