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

MySQL driver not loaded

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 3 Posters 222 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.
  • T Offline
    T Offline
    Troyer
    wrote on last edited by
    #1

    Hi! I am trying to load a MySQL database, but I get an error that the driver is not loaded. How can I fix it?

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

      Hi
      You have to download the client libs and compile the plugin.

      https://doc.qt.io/qt-5/sql-driver.html
      https://forum.qt.io/topic/40672/how-to-create-the-plugin-of-mysql-for-qt

      If you run into issues, just search the forum.
      Its one of the most asked questions :)

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

        Hi,

        Beside what @mrjj suggested, please search the forum. That question has been asked many times already and answered just as much.

        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

        • Login

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