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. [SOLVED] Need a HowTo for setting SSL certificates for a MySQL Connection - QT5
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Need a HowTo for setting SSL certificates for a MySQL Connection - QT5

Scheduled Pinned Locked Moved General and Desktop
15 Posts 5 Posters 8.1k Views 2 Watching
  • 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
    nicolas_rolando
    wrote on last edited by
    #6

    Thanks, pal. I'm glad it has been useful. Bye

    1 Reply Last reply
    0
    • L Offline
      L Offline
      Lukoch
      wrote on last edited by
      #7

      Hi, I know thread is closed for 2 years, but is there any chance someone has this example project from nicolas_rolando ? It would really help me since I am not able to set secure MySQL connection.

      Thanks.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #8

        Hi and welcome to devnet,

        There's a patch currently under review that implements this. Have a look here

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • L Offline
          L Offline
          Lukoch
          wrote on last edited by
          #9

          Thank you, I'll try this.

          1 Reply Last reply
          0
          • L Offline
            L Offline
            Lukoch
            wrote on last edited by
            #10

            One more question, how can I apply this patch ?

            I can' t find those files in Qt 5.4 folder (src_sql_kernel_qsqldatabase.cpp,...).

            Thanks.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #11

              Might be a silly question but did you install the Qt sources ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • L Offline
                L Offline
                Lukoch
                wrote on last edited by
                #12

                Oh, right, sorry... I am using prebuilt components now, thanks.

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  Lukoch
                  wrote on last edited by
                  #13

                  Actually, it would be easier for me to migrate DB to other solution, such as PostgreSQL. I am using mulitiple devices and platforms for my project and it would mean to apply the patch for all of them.

                  Is SSL connection using certificates working for PostgreSQL driver in Qt ? I wasn' t able to find examples.

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #14

                    What about that thread ?

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • N nicolas_rolando

                      Hi. I send you a little contribution to qt-project. Many developers are waiting for this feature: "Enhanced source code":http://www.sendspace.com/file/i5kvej
                      Thanks. Bye

                      T Offline
                      T Offline
                      tinysoft
                      wrote on last edited by tinysoft
                      #15

                      @nicolas_rolando said:

                      Hi. I send you a little contribution to qt-project. Many developers are waiting for this feature: "Enhanced source code":http://www.sendspace.com/file/i5kvej
                      Thanks. Bye

                      hello @nicolas_rolando , @GiveMeMyName

                      could you re upload the link .. it looks like it's expired

                      thank you in advance

                      1 Reply Last reply
                      0

                      • Login

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