Upgraded MySQL from 5.5 to 5.6
Found out that "STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION" becomes standard in MySQL 5.6 (not even in my.cnf file). So, in my.cnf I added:
sql_mode="TRADITIONAL" and restarted mysql. Didn't fix the issue. Also tried this, same.
sql_mode="TRADITIONAL,NO_AUTO_CREATE_USER"
EDIT: JUST FOUND A FIX.
There is a my.cnf in /usr/my.cnf that had the strict enabled rule. I changed it to:
sql_mode=NO_ENGINE_SUBSTITUTION
Found out that "STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION" becomes standard in MySQL 5.6 (not even in my.cnf file). So, in my.cnf I added:
sql_mode="TRADITIONAL" and restarted mysql. Didn't fix the issue. Also tried this, same.
sql_mode="TRADITIONAL,NO_AUTO_CREATE_USER"
EDIT: JUST FOUND A FIX.
There is a my.cnf in /usr/my.cnf that had the strict enabled rule. I changed it to:
sql_mode=NO_ENGINE_SUBSTITUTION
Last edited: