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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1872541

Title:
  MySQL client fails to connect, seems to force SSL

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1872541/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to