[PyQt] QMYSL driver in windows 10

jerrel smith jerrel.smith at gmail.com
Sun Jan 19 14:35:43 GMT 2020


Hi Guys,

I'm having trouble using the QMYQL driver in my project.

This is the response when running my script

*QSqlDatabase: QMYSQL driver not loaded*
*QSqlDatabase: available drivers: QSQLITE QODBC QODBC3 QPSQL QPSQL7*

according the QT website https://doc.qt.io/qt-5/sql-driver.html#qmysql i
need to build the plugin in order for the QMYSL driver to work, but i'm not
sure how to do this for pyqt, since my system doesnt have the qmap and
nmake tools.

After installing MySQL Connector C 6.1 if also copied the libmysql.dll
and libmysql.lib
to my  PyQt5/Qt/plugins/sqldrivers folder, but still no luck

My current setup is:

Windows 10
Python 3.8.1
PyQT 5.14.1


I would really appreciate it if you guys could help me out and get this
working.


regards

Jerrel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200119/065e0104/attachment.html>


More information about the PyQt mailing list