[Qt-interest] MYSQL driver problem

Bill King bill.king at nokia.com
Tue Jan 5 00:59:07 CET 2010


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100105/9c80f829/attachment.html 


More information about the Qt-interest-old mailing list