Qt Forum

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

    [Solved]Mysql Driver not loaded Driver not loaded

    Language Bindings
    3
    4
    3060
    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.
    • R
      redstoneleo last edited by

      MySQL works well before ,but when I use PyQt4 to connect it ,it prompts
      Driver not loaded Driver not loaded

      How to fix this problem ?

      1 Reply Last reply Reply Quote 0
      • F
        franku last edited by

        Make shure you have the plugins directory (sqldrivers) accessible from your PyQt application. However, possibly you don't have the QMYSQL driver in your package at all?
        Additionally have a look into the Net using "QSqlDatabase" and "Driver not loaded". There are more threads than one solving this issue.

        This, Jen, is the internet.

        1 Reply Last reply Reply Quote 0
        • R
          redstoneleo last edited by

          I've already solved it myself .thanks!

          1 Reply Last reply Reply Quote 0
          • P
            pblnrao last edited by

            @redstoneleo,

            Post you solution if its solved. So it may help others.

            Regards,
            PBL Narasimha Rao

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