Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-84797

QMYSQL: QT application running in Ubuntu 20.04 wont connect to MySQL 5.7.X servers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.6.0
    • 5.12.8
    • SQL Support
    • None
    • Linux/X11
    • 39fab09aa (dev)

    Description

      The latest MySQL client libraries in Ubuntu 20.04 has by default --ssl-mode=PREFERRED (https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1872541). To connect from 20.04 to a MySQL 5.7.X it is necessary to add --ssl-mode=DISABLED in client applications like mysql and mysqldump.

      For QMYSQL such options do not seem to exist thus connecting to 5.7.X MySQL servers is not possible. The problem does not happen when connecting to 8.X servers.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            andysh Andy Shaw
            qlands-dev Carlos Quiros
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes