Ok, I got this working (sort of). I put the libmySQL.dll in the Python26\Lib\site-packages\PyQt4 and the QMYSQL and QMSYSQL3 drivers are now listed from QSqlDatabase.drivers()

For some strange reason, I can connect to the database (without crash) from Windows 7 64-bit and a local wamp install. But on a Windows XP SP3 32-bit machine accessing Wamp across the network it makes the connection to the database and then promptly crashes with an Application Error - the instruction at "0x01ae364" referenced memory at "0x1533f40". The memory could not be read.

If I figure out the crash I will post the results.

-Scott

Phil Thompson wrote:
On Tue, 08 Sep 2009 08:48:53 -0700, Scott Ballard <[email protected]>
wrote:
  
Thanks for the response Phil! Forgive my ignorance but does it assume
the default path to the MySQL client libraries or can that path be set?
    
I'm
  
wondering if I can get this working with Wamp which has a different MySQL
install path.... Or do the MysSQL libraries need to be install in the Qt
directory?
    

Sorry, I don't know. I can only suggest copying the libraries around until
you find something that works.

Phil

__________ Information from ESET NOD32 Antivirus, version of virus signature database 4396 (20090904) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




  


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4407 (20090908) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to