更新时间:2023-02-01 07:50:57
我今天从 MySql.Data 7.0.7 迁移到 8.0.8 时遇到了同样的问题.我能够继续在连接字符串中添加SslMode=none".
I had the same problem today when moving from MySql.Data 7.0.7 to 8.0.8. I was able to move forward adding the "SslMode=none" in the connection string.
你会得到类似的结果:
server={0};user id={1};password={2};persistsecurityinfo=True;port={3};database={4};SslMode=none
(用您的数据库详细信息替换值)
(replacing the values with your database details)