Update backup user permissions, remove the –single-transaction flag, or downgrade mysqldump.
How do I fix the SSL "unknown error number" error when connecting to MySQL?
Validated on 20 Nov 2024 • Last edited on 28 Feb 2025
You may get a ERROR 2026 (HY000): SSL connection error: unknown error number
error when you try to connect to MySQL or MariaDB with an outdated client that does not support TLSv1.2 or TLSv1.3.
To fix this error, upgrade your client to a version that supports TLSv1.2 or TLSv1.3. MySQL also supports many options for customizing connections.
For more details on MySQL versions and their supported TLS versions, see the MySQL Encrypted Connection TLS Protocols and Ciphers docs.
Related Topics
How do I fix the mysqldump "Couldn't execute FLUSH TABLES Access denied" error?
Why does MySQL shut down when importing data with the source command?
Use MySQL’s import command instead of source for handling large data imports.
How do I fix the "1227" error?
Remove or replace the DEFINER in the dump file.