i have mysql installed and table created. i want to remove strict_trans_tables
from sql mode, how to do that? I tried the fonllowing:
1) go to phpmyadmin variable a
In your mysql console change your sql_mode (eg for global change)
SET GLOBAL sql_mode = 'NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
but before change read carefully https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html
3) located file /etc/mysql/my.cnf and tried to change setting there, but didn't find any sql mode info
If you do not have any sql mode set in the file, just add new line:
sql_mode="NO_BACKSLASH_ESCAPES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
Cheers