---
title: How to Fix the SSL Unknown Error Number Error When Connecting to MySQL?
url: https://docs.vultr.com/support/products/storage/databases/mysql/how-to-fix-the-ssl-unknown-error-number-error-when-connecting-to-mysql
description: Upgrade your MySQL client to support TLSv1.2 or TLSv1.3, the only protocols Vultr Managed MySQL 8 accepts.
publish_date: 2025-09-15T13:59:00.310568Z
last_updated: 2026-10-26T23:32:58.231956Z
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt


**Vultr’s Managed MySQL `8` servers** are configured to accept only `TLSv1.2` or `TLSv1.3` connections. If your MySQL client does not support these protocols, you may encounter the following error:

```
ERROR 2026 (HY000): SSL connection error: unknown error number
```

This often occurs when your MySQL client is outdated and cannot connect using the TLS protocols required by the server. To resolve this error:

1. Verify the supported TLS versions on the database server:

    ```sql
    mysql> SHOW GLOBAL VARIABLES LIKE 'tls_version';
    ```

1. Upgrade your MySQL client to a version that supports `TLSv1.2` or `TLSv1.3`.
1. When connecting with the MySQL client, specify custom connection options if needed, such as `--ssl-mode=REQUIRED` (to enforce SSL/TLS) or other flags documented in [MySQL Client Command Options](https://dev.mysql.com/doc/refman/8.0/en/mysql-command-options.html).

For more information on the TLS protocols and cipher suites supported by MySQL 8, refer to the [MySQL Encrypted Connection TLS Protocols and Ciphers documentation](https://dev.mysql.com/doc/refman/8.4/en/encrypted-connection-protocols-ciphers.html).