[PyQt] Can't connect to mysql on Windows

Mario Daniel Carugno carugnom at gmail.com
Thu Nov 26 14:26:54 GMT 2009

2009/11/26, Phil Thompson <phil at riverbankcomputing.com>:
> On Thu, 26 Nov 2009 10:59:21 -0300, Mario Daniel Carugno
> <carugnom at gmail.com> wrote:
>> Hi there,
>> I've downloaded the latest pyqt for python 2.5
> (PyQt-Py2.5-gpl-4.4.3-1.exe)
>> The notes says that this binary package has support for MySql:
>>   "Qt (with database support for MySQL, PostgreSQL, SQLite3 and ODBC)"
>> But my program do not connect using QMYSQL or QMYSQL3 drivers (with
>> QODBC3 runs fine)
>> Looking at C:\Python25\Lib\site-packages\PyQt4\plugins\sqldrivers
>> there's no library for mysql
>> Thats why my program do not connect, i guess.
>> So, do pyqt4.4.3 have mysql support or not ?
> To be honest, I can't remember.
>> Do i have to compile that driver ?
> ...and Qt and PyQt.
> Phil

Thank you for the fast response Phil
Do you know if the version for python2.6 has that driver compiled ?
Compiling Qt, PyQt and QMysql seems too much to get just a driver...
Does anybody have a compiled qmysql driver (for XP) to send me please ?


More information about the PyQt mailing list