Solution :
Go on mysql prompt and run following command.
Go on mysql prompt and run following command.
mysql> SET GLOBAL sql_mode=''
Make sure no value has been set for attribute sql_mode in the file my.cnf.