mysql - Change default sql mode -


i trying set mysql mode using this. works, when server restarted defaults strict_trans_table, no_engine_substitution. how can make permanent stays way after restart.

set global sql_mode="no_backslash_escapes,strict_trans_table, no_auto_create_user,no_engine_substitution" 

alter mysql configuration file. file called my.cnf if in windowzzz my.ini

append following line , restart mysql engine after

   sql-mode="no_backslash_escapes,strict_trans_table,no_auto_create_user,    no_engine_substitution" 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -