How to Disable Strict mode in Mysql

You can just set:
Code:
sql_mode=

In /etc/my.cnf.d/server.cnf under [mysqld] section.
 
Check /usr/local/mysql/my.cnf for the sql_mode setting and comment it in that file
 
MySQL configuration file in my server was in /etc/my.cnf, so you might need to put sql_mode= in that file.
 
Back
Top