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

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -