How to connect to maxscale by using hibernate?
Hello, Can some specialists tell me how to connect to maxscale by using hibernate? Is it like "jdbc:mariadb:localhost:4006"? or other way to connect? Thank you.
Answer Answered by Markus Mäkelä in this comment.
Just change the hostname and port in the JDBC connection string to point to MaxScale. If MaxScale is on the same machine as the client and it listens to port 4006, then your example would be correct.