[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] QMYSL driver in windows 10
From:       jerrel smith <jerrel.smith () gmail ! com>
Date:       2020-01-19 14:35:43
Message-ID: CAO_hqwFNEuEUJwKiwrsNO8cLctR6Hk7Lt_xXwFcJSzCn8RVPbw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

[Attachment #5 (text/html)]

<div dir="ltr">Hi Guys,<div><br></div><div>I&#39;m having trouble using the QMYQL \
driver in my project.</div><div><br></div><div>This is the response when running my \
script</div><div><br></div><div><i>QSqlDatabase: QMYSQL driver not \
loaded</i></div><i>QSqlDatabase: available drivers: QSQLITE QODBC QODBC3 QPSQL \
QPSQL7</i><div><br></div><div>according the QT website  <a \
href="https://doc.qt.io/qt-5/sql-driver.html#qmysql">https://doc.qt.io/qt-5/sql-driver.html#qmysql</a> \
i need to build the plugin in order for the QMYSL driver to work, but i&#39;m not \
sure how to do this for pyqt, since my system doesnt have the qmap and nmake \
tools.</div><div>  </div><div>After installing  <span \
style="color:rgb(64,66,68);font-family:&quot;Droid Sans \
Mono&quot;;font-size:16px">MySQL Connector C 6.1 if also copied the libmysql.dll and  \
</span>libmysql.lib to my   PyQt5/Qt/plugins/sqldrivers folder, but still no luck  \
</div><div><br></div><div>My current setup is:</div><div><br></div><div>Windows \
10</div><div>Python 3.8.1</div><div>PyQT \
5.14.1</div><div><br></div><div><br></div><div>I would really appreciate it if you \
guys could help me out and get this working.</div><div><br></div><div><br \
clear="all"><div><div dir="ltr" class="gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div \
dir="ltr"><div dir="ltr"><span><div dir="ltr" style="margin-left:0pt"><span><div \
style="margin-left:0pt"><span>regards</span></div><div \
style="margin-left:0pt"><span><br></span></div><div \
style="margin-left:0pt"><span>Jerrel</span></div></span></div></span></div></div></div></div></div></div></div></div></div>



[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic