Sha256: fb22e53ee17d11c2377c513a7e0245729e3bed39347f90c233e70ab4e104aada

Contents?: true

Size: 404 Bytes

Versions: 6

Compression:

Stored size: 404 Bytes

Contents

#!/usr/bin/env bash
# Ref https://github.com/travis-ci/travis-ci/issues/2250
# Ref https://github.com/jruby/activerecord-jdbc-adapter/issues/481
# JDBC adapters determine the encoding automatically via the server's charset and collation
echo "Tuning MySQL"
echo -e "[server]\ncharacter-set-server=utf8mb4\ncollation-server=utf8mb4_unicode_ci\n" | sudo tee -a /etc/mysql/my.cnf
sudo service mysql restart

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
upsert-2.9.10-java travis/tune_mysql.sh
upsert-2.9.10 travis/tune_mysql.sh
upsert-2.9.9-universal-java-11 travis/tune_mysql.sh
upsert-2.9.9 travis/tune_mysql.sh
upsert-2.2.1 travis/tune_mysql.sh
upsert-2.2.0 travis/tune_mysql.sh