Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt MySQL does not support TLS 1.2
Forum Updated to NodeBB v4.3 + New Features

Qt MySQL does not support TLS 1.2

Scheduled Pinned Locked Moved Unsolved General and Desktop
mysqltls
2 Posts 2 Posters 368 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nabil kacimi
    wrote on 27 Feb 2023, 14:15 last edited by
    #1

    Hi
    I have an MySQL Server 8.0, which supports connection with TLS =1.2 and higher . I use Qt 5.14.2 and I created an MySQL client. I am not able to connect with my server, I tried with another server which has MySQL 5.7 and it works perfectly. Can I resolve it? I didn't find option to set TLS in QSqlDatabase option. Thanks.

    1 Reply Last reply
    0
    • C Online
      C Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 27 Feb 2023, 16:31 last edited by Christian Ehrlicher
      #2

      See https://bugreports.qt.io/browse/QTBUG-84797
      MYSQL_OPT_SSL_MODE is not yet added and when it will only be added for Qt6.6 and higher.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0

      1/2

      27 Feb 2023, 14:15

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved