Patch #43649 ยป remove-mysql-5_7-related-comments.patch
| config/database.yml.example | ||
|---|---|---|
|
# 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).
|
||
| ... | ... | |
|
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"
|
||
| ... | ... | |
|
host: localhost
|
||
|
username: root
|
||
|
password: ""
|
||
|
# Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7
|
||
|
encoding: utf8mb4
|
||
|
variables:
|
||
|
transaction_isolation: "READ-COMMITTED"
|
||
| ... | ... | |
|
host: localhost
|
||
|
username: root
|
||
|
password: ""
|
||
|
# Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7
|
||
|
encoding: utf8mb4
|
||
|
variables:
|
||
|
transaction_isolation: "READ-COMMITTED"
|
||