diff --git a/config/database.yml.example b/config/database.yml.example index 9fdccac06..e7963e887 100644 --- a/config/database.yml.example +++ b/config/database.yml.example @@ -1,4 +1,4 @@ -# Default setup is given for MySQL 5.7.7 or later. +# Default setup is given for MySQL 8.0 or later. # Examples for PostgreSQL, SQLite3 and SQL Server can be found at the end. # Line indentation must be 2 spaces (no tabs). @@ -10,12 +10,10 @@ production: host: localhost username: root password: "" - # Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7 encoding: utf8mb4 variables: # Recommended `transaction_isolation` for MySQL to avoid concurrency issues is # `READ-COMMITTED`. - # In case of MySQL lower than 8, the variable name is `tx_isolation`. # See https://www.redmine.org/projects/redmine/wiki/MySQL_configuration transaction_isolation: "READ-COMMITTED" @@ -26,7 +24,6 @@ development: host: localhost username: root password: "" - # Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7 encoding: utf8mb4 variables: transaction_isolation: "READ-COMMITTED" @@ -41,7 +38,6 @@ test: host: localhost username: root password: "" - # Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7 encoding: utf8mb4 variables: transaction_isolation: "READ-COMMITTED"