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

    • Type: Bug
    • Status: In Progress
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.12.8
    • Fix Version/s: None
    • Component/s: SQL Support
    • Labels:
      None
    • Platform/s:
      Linux/X11

      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

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

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes