NYCPHP Meetup

NYPHP.org

[nycphp-talk] On the subject of MySQL 4.1.8...

Matthew Van Horn matthew_van_horn at yahoo.com
Mon Dec 27 13:40:10 EST 2004


 On Mon, 2004-12-27 at 12:36, Ajai Khattri wrote:
> I recently upgraded MySQL to 4.1.8 and had some PHP applications break 
> because of changes in date handling, so I ended up rolling back to the 
> older version. My question is, is it possible to enable backwards 
> compatibility for 4.1.8 especially wrt date handling???

I had similar problems with java/hibernate and fixed it by using the
following  argument in the connection string.
&zeroDateTimeBehavior=convertToNull


-- 
Matthew Van Horn <matthew_van_horn at yahoo.com>




More information about the talk mailing list