I have the following sql create statement
mysql> CREATE TABLE IF NOT EXISTS `erp`.`je_menus` (
-> `id` INT(11) NOT NULL AUTO_INCREMENT ,
-&g
To avoid this issue, you need to remove NO_ZERO_DATE from the mysql mode configuration.
NO_ZERO_DATE (and its trailing comma) from the configuration.This is a very common issue in the local environment with wamp or xamp.