Skip to content

ADO读写分离? #878

Answered by 2881099
januswx asked this question in Q&A
Sep 14, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

默认以

SELECT

开头的查询,会查从库。

想要查主库可以这样:

/* master */ SELECT ...

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@januswx
Comment options

Answer selected by januswx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants