make mysql run in strict mode
this might obviate the need for postgresql in the gate, as it will make mysql act more strict. Suggested by Monty during Atlanta summit on test matrix. Change-Id: Ibfcb0959159f3b84fe35a1198d481bff308da0d4
This commit is contained in:
parent
ea937baee6
commit
e56c137edb
@ -88,6 +88,7 @@ function configure_database_mysql {
|
|||||||
# set default db type to InnoDB
|
# set default db type to InnoDB
|
||||||
sudo bash -c "source $TOP_DIR/functions && \
|
sudo bash -c "source $TOP_DIR/functions && \
|
||||||
iniset $MY_CONF mysqld bind-address 0.0.0.0 && \
|
iniset $MY_CONF mysqld bind-address 0.0.0.0 && \
|
||||||
|
iniset $MY_CONF mysqld sql_mode STRICT_ALL_TABLES && \
|
||||||
iniset $MY_CONF mysqld default-storage-engine InnoDB"
|
iniset $MY_CONF mysqld default-storage-engine InnoDB"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user