The online tutorial is to modify the my.cnf file.
I added sql_mode = NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION in /etc/my.cnf file and restart.
But it still doesn't work.
Perhaps the strict mode can be removed by setting "Additional Requirements"?