Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved How to connect to mysql server in ubuntu 16.04?.

    India
    mysql driver qt 5.7 qt 4.8 mysql server ubuntu 16.04
    3
    3
    1092
    Loading More Posts
    • 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.
    • S
      Sivamani V last edited by

      When i run Qt application i got an error message "QMYSQL Driver not loaded. Available drivers: QMYSQL QSQLITE QMYSQL3... ".

      JonB 1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        What version of Qt are you using ?
        What version of MySQL ?

        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 Reply Quote 1
        • JonB
          JonB @Sivamani V last edited by

          @Sivamani-V said in How to connect to mysql server in ubuntu 16.04?.:

          QMYSQL Driver not loaded. Available drivers: QMYSQL QSQLITE QMYSQL3

          This gets asked so many times, here & elsewhere. Googling for your message will bring up many hits. Under Linux/Ubuntu it's usually libmysqlclient or libqt5sql5-mysql or similar which is missing/has dependencies missing/wrong version.

          1 Reply Last reply Reply Quote 2
          • First post
            Last post