Commit c151a723 authored by Leigh Stoller's avatar Leigh Stoller

More mysql 5.7 stuff; need to allow ZERO dates.

parent 2ecffd10
......@@ -65,6 +65,8 @@ if [ $major -eq 5 ]; then
opts="$opts --innodb_file_per_table=1 --innodb_file_format=Barracuda"
# Backwards compatibility.
opts="$opts --lower_case_table_names=0 --log_output=file"
# Strict mode is coming, but we can't handle it.
opts="$opts --sql_mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
fi
else
safeprog=/usr/local/bin/safe_mysqld
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment