I am trying to disable NO_ZERO_IN_DATE
and NO_ZERO_DATE
in the sql_mode
but whenever I am restarting the server it just pops back up...
I have used those commands:
SET sql_mode=(SELECT REPLACE(@@sql_mode,'NO_ZERO_DATE',''));
set sql_mode = 'STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER';