[unixODBC-support] Empty texttype-field unable to retrieve with php

Nick Gorham nick.gorham at easysoft.com
Fri Jun 23 09:11:33 BST 2006

Alexander Goettmann wrote:

>Hi List!
>I have a problem to bring up a php-connection to mysql via ODBC. It's a fresh 
>installed SuSE 9.3, PHP 5.0.3, Apache 2.0.53 and Mysql-ODBC 3.51.10. 
>Connection works good until there are any rows returned, which contain empty 
>fields of type "text" in Mysql. Then Apache segfaults. As soon as there is 
>minimum one char in the field, fetching the row succeeds. Using the command 
>line isql, everything works fine, even with empty text fields. Is this a known 
>issue with unixODBC, PHP, Apache, or is there any known solution for this?
>Thanks in advance!
>Kind regards
>Alexander Goettmann
>unixODBC-support mailing list
>unixODBC-support at easysoft.com
I would turn tracing on in the DM and see if it fails in the driver or 
in PHP, I would doubt (though I cound be wrong, it has happened) if its 
in the driver manager itself.

Nick Gorham
Easysoft Limited
http://www.easysoft.com, http://www.unixODBC.org

More information about the unixODBC-support mailing list