Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-55985

[SSL] mysqlhotcopy / mariadb-hotcopy fails in RHEL 10

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-10.0
    • rhel-10.0.beta
    • mariadb10.11
    • None
    • Yes
    • Moderate
    • rhel-databases
    • 15
    • 8
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • Unspecified Release Note Type - Unknown
    • All
    • None

      mysqlhotcopy fails with error:

      Can't connect to database db: TLS/SSL error: SSL is required, but the server does not support it 

      while:

      MariaDB [(none)]> SHOW VARIABLES LIKE '%ssl%';
      +---------------------+--------------------------+
      | Variable_name       | Value                    |
      +---------------------+--------------------------+
      | have_openssl        | YES                      |
      | have_ssl            | DISABLED                 |
      | ssl_ca              |                          |
      | ssl_capath          |                          |
      | ssl_cert            |                          |
      | ssl_cipher          |                          |
      | ssl_crl             |                          |
      | ssl_crlpath         |                          |
      | ssl_key             |                          |
      | version_ssl_library | OpenSSL 3.2.2 4 Jun 2024 |
      +---------------------+--------------------------+
       

      First spotted with MariaDB 10.11.6 on RHEL 10.


      In Fedora, it fails with

      Argument "" isn't numeric in subroutine entry at /usr/lib64/perl5/vendor_perl/DBD/MariaDB.pm line 140.
      DBI connect(';host=;port=;mariadb_read_default_group=mysqlhotcopy','',...) failed: Connection error: port is not valid number at /usr/bin/mysqlhotcopy line 222. 

      with mariadb-10.11.8-5


      Works fine with MariaDB 10.5 on RHEL 9.

       


      Possibly some change in behavior between MariaDB 10.5 and 10.11.
      Needs investigation.

       

              mschorm@redhat.com Michal Schorm
              mschorm@redhat.com Michal Schorm
              Michal Schorm Michal Schorm
              Vaclav Danek Vaclav Danek
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: