Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql client v5.7.26 connect to tidb master fail for unknown error number #50401

Closed
seiya-annie opened this issue Jan 14, 2024 · 1 comment
Closed
Labels

Comments

@seiya-annie
Copy link

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

root@wkload-0:/tools# /root/opt/mysql/5.1.72/bin/mysql -u nopw -h tc-tidb.testbed-endless-client-ncjv5 -P 4000 -e QUIT
root@wkload-0:/tools# /root/opt/mysql/5.7.26/bin/mysql -u nopw -h tc-tidb.testbed-endless-client-ncjv5 -P 4000 -e QUIT
ERROR 2026 (HY000): SSL connection error: unknown error number
root@wkload-0:/tools# /root/opt/mysql/8.0.17/bin/mysql -u nopw -h tc-tidb.testbed-endless-client-ncjv5 -P 4000 -e QUIT
root@wkload-0:/tools#

2. What did you expect to see? (Required)

mysql client v5.7.26 can connect to master

3. What did you see instead (Required)

root@wkload-0:/tools# /root/opt/mysql/5.7.26/bin/mysql -u nopw -h tc-tidb.testbed-endless-client-ncjv5 -P 4000 -e QUIT
ERROR 2026 (HY000): SSL connection error: unknown error number

4. What is your TiDB version? (Required)

master

@seiya-annie seiya-annie added type/bug The issue is confirmed as a bug. sig/sql-infra SIG: SQL Infra severity/major labels Jan 14, 2024
@hawkingrei
Copy link
Member

It is designed by #36037.

MySQL 5.7 uses tls1.x as the default tls version. but it is deprecated in the mysql8.0.

You can read this in detail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants