For some reason, I can\'t even select invalid dates in my table. How do I force select? I just receive:
select * from table
>> Mysql2::Error: Invalid date:
mysql -u root -p
sql-modes
using SELECT @@GLOBAL.sql_mode;
sql-modes
using SET GLOBAL sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION,ALLOW_INVALID_DATES';
ALLOW_INVALID_DATES
and removes both NO_ZERO_DATE, NO_ZERO_IN_DATE
/etc/init.d/mysql start