Thread

Posted on Tue Jan 3 03:13:56 2006 by khai
Does this module work with MySQL 5?
Have anyone try this module with MySQL 5? Is there any know problem?
Direct Responses: 1562 | 2125 | Write a response
Posted on Tue Jan 3 17:32:50 2006 by hbarnard in response to 1557
Re: Does this module work with MySQL 5?
I'm outputting from a MySQL5 managed database, not doing anything complex, just making document tables from records...no problems, so far best regards Hugh Barnard
Direct Responses: 1654 | Write a response
Posted on Thu Jan 19 16:20:16 2006 by dp in response to 1562
Re: Does this module work with MySQL 5?
It does not, however, allow you to retrieve results from stored procedures. There is a proposed patch available from the bugs list (http://rt.cpan.org/Ticket/Display.html?id=12322), but it was last worked on 9 months ago.
Write a response
Posted on Sat Apr 8 18:36:14 2006 by mmarch in response to 1557
Re: Does this module work with MySQL 5?

AFAICT it works fine, except for a problem with the DECIMAL type. Its implementation has changed in MySQL 5, therefore when trying to retrieve data from a table in a mysql5 database which has a column of type DECIMAL(10,2) I get the following error:

"Using unsupported buffer type: 246"
[3 Oct 2005 14:25] Alexey Stroganov Due to fact that 4.1 client library does not support MYSQL_TYPE_NEWDECIMAL added in 5.0, and there is no way to disable new DECIMAL type on server side the only possible solution to avoid reported problem will be relink application that uses PS C API with the client library from 5.0 server distribution. This fact should be noted in Upgrade section in our manual.
C API Changes: Incompatible change: Because the MySQL 5.0 server has a new implementation of the DECIMAL dat +a type, a problem may occur if the server is used by older clients that still are linked against M +ySQL 4.1 client libraries. If a client uses the binary client/server protocol to execute prepared +statements that generate result sets containing numeric values, an error will be raised: 'Using un +supported buffer type: 246' This error occurs because the 4.1 client libraries do not support the new MYSQL_TYPE_NEWDECIM +AL type value added in 5.0. There is no way to disable the new DECIMAL data type on the server sid +e. You can avoid the problem by relinking the application with the client libraries from MySQL 5.0.
Write a response