QMYSL driver in windows 10

jerrel smith <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <CAO_hqwFNEuEUJwKiwrsNO8cLctR6Hk7Lt_xXwFcJSzCn8RVPbw@mail.gmail.com>
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

_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.