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. QSqlDatabase: QMYSQL3 driver not loaded
Forum Updated to NodeBB v4.3 + New Features

QSqlDatabase: QMYSQL3 driver not loaded

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 408 Views 1 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.
  • J Offline
    J Offline
    jdent
    wrote on last edited by
    #1

    Hi,
    I am trying to use the SqlBrowser example with MySQL that I have installed in my laptop. The example works fine with the SQLite driver but when telling it to use MySQL I continuously get the error:

    QSqlDatabase: QMYSQL3 driver not loaded

    Any ideas?

    I am very new to QT...

    Thanks!!

    Juan

    1 Reply Last reply
    0
    • CharbyC Offline
      CharbyC Offline
      Charby
      wrote on last edited by Charby
      #2

      Check that :

      • mysql client is installed
      • you can find the mysql plugin library in the plugin directory of your Qt installation folder
      • if plugin still doesn't work, check that the plugin doesn't miss any dependancies (ldd, dependancyWalker...)

      This is quite a recurrent topic, the problem (and its solution) is highly depending of your OS, please check similar posts using the search tool of this forum. Here are a few of them :

      • https://forum.qt.io/topic/63335/qsqldatabase-qmysql-driver-not-loaded/22
      • https://forum.qt.io/topic/60281/qsqldatabase-qmysql-driver-not-loaded-qsqldatabase-available-drivers-qsqlite-qmysql
      • https://forum.qt.io/topic/62141/qtsql-driver-not-loaded-using-osx
      • https://forum.qt.io/topic/62141/qtsql-driver-not-loaded-using-osx
      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