How to connect master/slave on mysql2 #2213
remaluf-kueski
started this conversation in
General
Replies: 1 comment 1 reply
-
Try using symbols instead of strings as keys, and using |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm having troubles to connect my app with two differents servers with the same Schema using sharding.
I'm working with AWS aurora database with a master/slave on different servers
This is is config
An I'm testing with the following code
It looks like the only overwritten opts is the host. Because is trying to connect with my default connection to the read_only host
Beta Was this translation helpful? Give feedback.
All reactions