mysql auto increment field error 1336 Incorrect integer value -


recently upgraded mysql 5.6.30, throwing out mysql auto incrment error

1366 - incorrect integer value: '' column 's

probably new mysql installation runs on strict mode while previous 1 did not.and have empty value in column defined integer error.

go @ my.cnf/my.ini file , line

 sql-mode = "strict_trans_tables,no_auto_create_user,no_engine_substitution" 

change blank:

  sql-mode=""  

this disable strict mode , error converted warning

but

the best aprroach to change empty field value valid integer value.


Comments

Popular posts from this blog

Lists in Python -

android - can not access to progress bar in an other activity -

java - Vaadin 7 Pass Data Between Views -