[Qt-interest] MYSQL driver problem
bar tomas
bartomas at gmail.com
Wed Jan 6 00:10:12 CET 2010
Many thanks for your reply.
I get the error with the execution of a really simple query ("select *
from table1")
What exactly do you mean by updating my client library?
I'm using PyQt 4.6. In the plugins folder of the PyQt distribution
there is a dll called qsqlmysql4.dll. Is this the file I should
update?
Thanks again.
On Mon, Jan 4, 2010 at 11:59 PM, Bill King <bill.king at nokia.com> wrote:
> On 01/02/2010 11:28 PM, ext bar tomas wrote:
>
> Hi,
>
> I'm programming a Qt application on Win XP that connects to a MYSQL
> 5.1 database.
> I'm using PyQt 4.6 for Python 2.6 and have posted my question on a
> PyQt mailing list but have got no solution in reply and I suspect my
> issue may be a general Qt MYSQL driver problem.
> I can connect to the Mysql database, but when trying to execute a
> query I get the following error message (captured through lastError())
>
> Using unsupported buffer type: 12 (parameter: 3)
>
> Do you know what may be the cause of the problem?
>
> Many thanks.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
> Apparently there's an issue with prepared queries with non 5.1 clients
> talking to 5.1.25+ servers.
> Can you check/upgrade your client library and see if this fixes the issue?
> If it doesn't, please feel free to file a bug at bugreports.qt.nokia.com,
> with a simple example to replicate it, and I'll put it on my "todo very
> soon" list :)
>
> --
> Bill King, Software Engineer
> Qt Development Frameworks, Nokia Pty Ltd
> Brisbane Office
>
More information about the Qt-interest-old
mailing list