Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. [Solved]Mysql Driver not loaded Driver not loaded
QtWS25 Last Chance

[Solved]Mysql Driver not loaded Driver not loaded

Scheduled Pinned Locked Moved Language Bindings
4 Posts 3 Posters 3.4k Views
  • 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 Offline
    R Offline
    redstoneleo
    wrote on last edited by
    #1

    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
    0
    • F Offline
      F Offline
      franku
      wrote on last edited by
      #2

      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
      0
      • R Offline
        R Offline
        redstoneleo
        wrote on last edited by
        #3

        I've already solved it myself .thanks!

        1 Reply Last reply
        0
        • P Offline
          P Offline
          pblnrao
          wrote on last edited by
          #4

          @redstoneleo,

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

          Regards,
          PBL Narasimha Rao

          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