I have a PHP application hosted on a windows server 2008 R2 machine.
I had a problem with strict mode in MySQL and solved it by disabling the strict mode using the following command
set GLOBAL.sql_mode='';
When I restart the machine, strict mode is enabled again and the problem exists again.
How can I solve this issue ?
Edit:
In addition to @Jérémy Munoz's answer, you have to restart the MySQL service using the following commands:
net stop MySQL
then
net start MySQL