Skip to content

Commit

Permalink
Bug 1313236 - Sync Vagrant/Travis MySQL config with that on production
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed Morley committed Oct 26, 2016
1 parent 27867f0 commit f897c7b
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions puppet/files/mysql/my.cnf
@@ -1,12 +1,22 @@
# Overrides the mysql defaults in /etc/mysql/my.cnf
# Any changes here will require a Vagrant re-provision to take effect.
# NB: This file is only used by Vagrant/Travis, and must be kept in sync with
# the RDS parameter group used by stage/prod:
# https://github.com/mozilla-platform-ops/devservices-aws/blob/master/treeherder/rds.tf

[mysqld]
# Allow connections from the VM host and not just the loopback interface.
bind-address = 0.0.0.0
# Allow connections from the Vagrant host and not just the loopback interface.
bind-address="0.0.0.0"

character_set_server="utf8"
collation_server="utf8_bin"

log_output="FILE"
long_query_time="2"
slow_query_log="1"

# Ensure operations involving astral characters fail loudly,
# rather than mysql silently replacing each each byte of the
# original character with a U+FFFD replacement character.
# See bug 1275425.
sql_mode="STRICT_ALL_TABLES"
sql_mode="NO_ENGINE_SUBSTITUTION,STRICT_ALL_TABLES"

0 comments on commit f897c7b

Please sign in to comment.