Merge "mysql: set default sql_mode to TRADITIONAL"

This commit is contained in:
Jenkins 2017-02-24 00:59:06 +00:00 committed by Gerrit Code Review
commit cdf79c9620
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ function configure_database_mysql {
# Change bind-address from localhost (127.0.0.1) to any (::) and
# set default db type to InnoDB
iniset -sudo $my_conf mysqld bind-address "$SERVICE_LISTEN_ADDRESS"
iniset -sudo $my_conf mysqld sql_mode STRICT_ALL_TABLES
iniset -sudo $my_conf mysqld sql_mode TRADITIONAL
iniset -sudo $my_conf mysqld default-storage-engine InnoDB
iniset -sudo $my_conf mysqld max_connections 1024
iniset -sudo $my_conf mysqld query_cache_type OFF