使用命令行连接远程Mysql数据库时报错:

ERROR 2026 (HY000): SSL connection error: error:0A000102:SSL routines::unsupported protocol

解决方法

使用--ssl-mode=DISABLED参数即可

mysql -h xxx.xxx.xxx.xxx -P 3306 -u root -p'密码' --ssl-mode=DISABLED

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐