Public bug reported:

Description:    Ubuntu Focal Fossa (development branch)
Release:        20.04

mysql  Ver 8.0.19-0ubuntu4 for Linux on x86_64 ((Ubuntu))

I get this error from command line when trying to connect to a remote
server:

# ERR: SSL connection error: error:1425F102:SSL
routines:ssl_choose_client_version:unsupported protocol (MySQL error
code: 2026, SQLState: HY000 )

I get the same error from C++ scripts using MySQL Connector++.

Only way mysql command line works is to add --ssl-mode=DISABLED

Server version: 5.6.10-log MySQL Community Server (GPL)

The connection goes through OpenVPN.

Alternative solution:  Using instead mariadb-client works without
problems.

Older versions of Ubuntu don't present this issue. I tested 16.04,
18.04, 19.10, and I can connect using mysql in all of them.

Fails in 20.04 in a virtual machine too.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: mysql-client 8.0.19-0ubuntu4
ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
Uname: Linux 5.4.0-21-generic x86_64
ApportVersion: 2.20.11-0ubuntu26
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Mon Apr 13 13:42:25 2020
InstallationDate: Installed on 2020-04-12 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200409)
PackageArchitecture: all
SourcePackage: mysql-8.0
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: mysql-8.0 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
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/+source/mysql-8.0/+bug/1872541/+subscriptions

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

Reply via email to