Re: what cause mysqlDataTruncation
Posted by: Ronny Gonzalez
Date: March 09, 2005 02:50PM

I had the same problem. I googled every term I can think of and it seems that only you and I have had this problem. I was able to solve it by changing my insert statement from insert('', .... ) to insert(null,...) . It appears the mysql 4.1.10 throws a warning if the auto increment field is incremented using ''. I don't have time to verify but you can use show warning to test from the mysql commandline interface.

Options: ReplyQuote


Subject
Written By
Posted
February 18, 2005 01:19AM
Re: what cause mysqlDataTruncation
March 09, 2005 02:50PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.