且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Python MySQL 连接器:无法使用 SSL 连接到服务器

更新时间:2022-11-17 08:48:29

我认为您需要提供以下标志:

I think you need to provide these flags:

ssl_ca 包含 SSL 证书颁发机构的文件.

ssl_ca File containing the SSL certificate authority.

ssl_cert 包含 SSL 证书文件的文件.

ssl_cert File containing the SSL certificate file.

ssl_key 包含 SSL 密钥的文件.

ssl_key File containing the SSL key.