With recent release, MySQL throws error when inserting dates. This is because, by default "strict mode" is enabled. To get rid of the errors, we need to do something as follows:
SHOW VARIABLES LIKE 'sql_mode';
set sql_mode='';
A few Day-to-Day life tricks of Linux.
No comments:
Post a Comment