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. MySql Connection Issue
Qt 6.11 is out! See what's new in the release blog

MySql Connection Issue

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 236 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.
  • D Offline
    D Offline
    delilong1
    wrote on last edited by delilong1
    #1

    Hi everybody!
    I'm getting the problem with connection to Database (Mysql) . I installed MariaDB Connector, Mysql Connector. I copied DLL file to my Qt installation path. I try everything but still getting this disgusting message "QMYSQL driver not loaded" 😢
    Can someone help me?

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

      Hi,

      As with all the other same question: start your application with the QT_DEBUG_PLUGINS environment variable set to 1 to see what is going on.

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

      D 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        As with all the other same question: start your application with the QT_DEBUG_PLUGINS environment variable set to 1 to see what is going on.

        D Offline
        D Offline
        delilong1
        wrote on last edited by
        #3

        @SGaist
        Hi!
        When you say start with QT_DEBUG_PLUGIN, you mean I have to build my app with debug option instead of release. Is that?

        JonBJ 1 Reply Last reply
        0
        • D delilong1

          @SGaist
          Hi!
          When you say start with QT_DEBUG_PLUGIN, you mean I have to build my app with debug option instead of release. Is that?

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @delilong1
          No. Use the forum Search for QT_DEBUG_PLUGINS. It's also in the docs at Environment Variables Recognized by Qt.

          1 Reply Last reply
          1

          • Login

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