[Solved]Mysql Driver not loaded Driver not loaded
-
MySQL works well before ,but when I use PyQt4 to connect it ,it prompts
Driver not loaded Driver not loadedHow to fix this problem ?
-
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. -
I've already solved it myself .thanks!
-
Post you solution if its solved. So it may help others.