Hello,
After I migrated to a new VPS server, some websites started to show sql errors. I discovered I have to turn off Strict Mode.
Strick Mode can be turned off only from SSH ? or is it available in cPanel settings ?
Should I edit the file etc/my.cnf only or /usr/my.cnf too ?
Should I changed sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES to
1 - sql_mode =""
2 - sql_mode =''
3 - sql_mode=”NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION”
?
Thank you
After I migrated to a new VPS server, some websites started to show sql errors. I discovered I have to turn off Strict Mode.
Strick Mode can be turned off only from SSH ? or is it available in cPanel settings ?
Should I edit the file etc/my.cnf only or /usr/my.cnf too ?
Should I changed sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES to
1 - sql_mode =""
2 - sql_mode =''
3 - sql_mode=”NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION”
?
Thank you