I have the same issue, and for me it *does* work if I use `--ssl-mode=DISABLED` to connect.
This is using the mysql-client installed through apt in Ubuntu 20.04 beta (mysql-client 8.0.19-0ubuntu4), and connecting to a MySQL Server version 5.7.21 running in docker on the same machine.
I get the same problem when trying to connect using the mysqlclient-python library in a django application I'm working on.
The mariadb-client version of the `mysql` binary can connect to the same database without using `--ssl-mode=DISABLED`.
If I replace mysql-client and libmysqlclient-dev with mariadb-client and libmariadbclient-dev and then reinstall the python mysql library, that works as it is supposed to.
I have the same issue, and for me it *does* work if I use `--ssl- mode=DISABLED` to connect.
This is using the mysql-client installed through apt in Ubuntu 20.04 beta (mysql-client 8.0.19-0ubuntu4), and connecting to a MySQL Server version 5.7.21 running in docker on the same machine.
I get the same problem when trying to connect using the mysqlclient-python library in a django application I'm working on.
The mariadb-client version of the `mysql` binary can connect to the same database without using `--ssl- mode=DISABLED` .
If I replace mysql-client and libmysqlclient-dev with mariadb-client and libmariadbclien t-dev and then reinstall the python mysql library, that works as it is supposed to.