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

QMySQL - no way to set up SSL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.0 RC
    • 3.x, 4.5.3, 4.6.0
    • SQL Support
    • None
    • 28ceb2ea5e79d65904d2ad83b8259e75b60acff6

    Description

      QMySQL - no way to set up SSL.

      In the documentation, it looks like we can set up SSL connection to a MySql database, but this does not appear to be correct.
      We currently only pass CLIENT_SSL when we call mysql_real_connect, but according to mysql document, we should call mysql_ssl_set to setup this flag before connecting.
      And what's more, we don't have any support for setting up the certificate, cipher, etc, which makes the mysql ssl support useless.
      We should add support for calling mysql_options.

      See:
      http://dev.mysql.com/doc/refman/5.1/en/mysql-ssl-set.html
      http://dev.mysql.com/doc/refman/5.1/en/mysql-options.html

      Attachments

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

        Activity

          People

            qbyte Olivier Delbeke
            roschern Nils Christian Roscher-Nielsen (Inactive)
            Votes:
            8 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes