-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
如何动态切换数据库连接字符串? #354
Comments
这是一封自动回复邮件。已经收到您的来信,我会尽快回复。
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
目前有这样的需求,根据用户输入的连接字符串来连接到不同的数据库
我采用下面的方式根据用户输入的
connStr
重新设置连接但是访问到的数据还是旧的连接,请问大佬,如何让切换立即生效?
The text was updated successfully, but these errors were encountered: