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] QMYSQL driver not loaded. available drivers: QSQLITE , QMYSQL , QMYSQL3 , ...
Forum Updated to NodeBB v4.3 + New Features

[solved] QMYSQL driver not loaded. available drivers: QSQLITE , QMYSQL , QMYSQL3 , ...

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 826 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.
  • M Offline
    M Offline
    mohmo
    wrote on last edited by
    #1

    hey bros
    I am using Qt 5,2 on ubuntu 14.04 64 bit.
    I have installed mysql server 5.6 from trusty tahr and its RUNNING.
    When i try to connect to mysql database i encounter the above message.
    what's the reason and of course the solution?

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

      Hi,

      What does QSqlDatabase::error return ?

      Did you check with ldd that the plugin has all dependencies installed ?

      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
      • M Offline
        M Offline
        mohmo
        wrote on last edited by
        #3

        yeah. Using ldd libqsqlmysql.so i found out that a dependency is missing.
        I build a new library using qmake and replaced it.

        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