Azure Database for MySQL 报 Please specify SSL options and retry.

Exception has been thrown by the aspect of an invocation. ---> Authentication to host 'xxx.mysql.database.azure.com' for user 'xxx@xxx' using method 'mysql_native_password' failed with message: SSL connection is required. Please specify SSL options and retry..

若连接字符串中 SslMode=none; 

需要在  连接安全性 ->  SSL 设置 -> 强制执行 SSL 连接 -> 禁用

猜你喜欢

转载自www.cnblogs.com/wintersoft/p/10625038.html