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

mysql连接数据库字符串如果密码里面带有分号则属于特殊字符,导致无法连接 #1783

Open
2007cc opened this issue Apr 16, 2024 · 1 comment

Comments

@2007cc
Copy link

2007cc commented Apr 16, 2024

mysql连接数据库字符串如果密码里面带有分号则属于特殊字符,导致无法连接,
如 Data Source=localhost;Port=3306;User ID=root;Password=3~7AE2^!nlFO9r;w; Initial Catalog=test;Charset=utf8; SslMode=none;Min pool size=1

@2881099
Copy link
Collaborator

2881099 commented Apr 16, 2024

用 MySqlConnectionStringBuilder 类构建

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