<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Arial">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()<br>
<br>
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.<br>
<br>
If I figure out the crash I will post the results.<br>
<br>
-Scott<br>
</font></font><br>
Phil Thompson wrote:
<blockquote cite="mid:5220c89ab8ce35bc53c4e542d2d25ba5@localhost"
type="cite">
<pre wrap="">On Tue, 08 Sep 2009 08:48:53 -0700, Scott Ballard <a class="moz-txt-link-rfc2396E" href="mailto:scott@scottballard.net"><scott@scottballard.net></a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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?
</pre>
</blockquote>
<pre wrap=""><!---->I'm
</pre>
<blockquote type="cite">
<pre wrap="">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?
</pre>
</blockquote>
<pre wrap=""><!---->
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.
<a class="moz-txt-link-freetext" href="http://www.eset.com">http://www.eset.com</a>
</pre>
</blockquote>
<BR>
<BR>
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4407 (20090908) __________<BR>
<BR>
The message was checked by ESET NOD32 Antivirus.<BR>
<BR>
<A HREF="http://www.eset.com">http://www.eset.com</A><BR>
</body>
</html>