aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorYasuo Honda <yasuo.honda@gmail.com>2018-09-20 12:05:52 +0000
committerYasuo Honda <yasuo.honda@gmail.com>2018-09-20 12:39:31 +0000
commitabba0208376f41f5dd71ad64696870c9c52f9fd0 (patch)
tree834e6ac54d937b51f90ef6da72a9de9241adcdd1 /guides
parente925cb4d856088a815bf4a0cf27518d01bb4029d (diff)
downloadrails-abba0208376f41f5dd71ad64696870c9c52f9fd0.tar.gz
rails-abba0208376f41f5dd71ad64696870c9c52f9fd0.tar.bz2
rails-abba0208376f41f5dd71ad64696870c9c52f9fd0.zip
Update MySQL server version and character set in Rails Guide [skip ci]
Related to #33853
Diffstat (limited to 'guides')
-rw-r--r--guides/source/configuring.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index e372b3a816..18a377a02e 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -1014,7 +1014,6 @@ If you choose to use MySQL or MariaDB instead of the shipped SQLite3 database, y
```yaml
development:
adapter: mysql2
- encoding: utf8
database: blog_development
pool: 5
username: root
@@ -1024,6 +1023,8 @@ development:
If your development database has a root user with an empty password, this configuration should work for you. Otherwise, change the username and password in the `development` section as appropriate.
+NOTE: If your MySQL version is 5.5 or 5.6 and want to use the `utf8mb4` character set by default, please configure your MySQL server to support the longer key prefix by enabling `innodb_large_prefix` system variable.
+
Advisory Locks are enabled by default on MySQL and are used to make database migrations concurrent safe. You can disable advisory locks by setting `advisory_locks` to `false`:
```yaml