First of all, sorry for my language.
Actually, I've tried to move a PHP application using MySQL 4 to another server using MySQL 5.6.11.
Like a lot of people, I had the problem: "Incorrect integer value: '' for column 'id' at row 1"
I understood where the problem was but choices I have don't satisfied me.
Choices are :
- go back to MySQL 4 - not possible
- modified my.ini and sql-mode. But Mysql impact a lot of bases and I don't think it's a good idea to reduce the security.
- put security in the php code, but it will take a lot of time.
Do you think there are other solution I didn't find?