docker mysql客户端:SSL connection error: error:1425F102:SSL routines: unsupported protocol
发表于:2022-05-06 |
docker mysql 客户端报错
[root@1317c0f71d3d /]# mysql -h192.168.102.11 -P3306 -uroot -p123456                    
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2026 (HY000): SSL connection error: error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol


加上 --ssl-mode=DISABLED 解决问题
[root@1317c0f71d3d /]# mysql -h192.168.102.11 -P3306 -uroot -p123456  --ssl-mode=DISABLED
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 43913
Server version: 5.7.27-log MySQL Community Server (GPL)

Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> 
上一篇:
ubuntu 安装Python2.7 和对应的pip2
下一篇:
Mysql 进阶查询 (select 语句的高级用法)