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"
development:
adapter: mysql2
password: ""
# Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7
encoding: utf8mb4
+ variables:
+ transaction_isolation: "READ-COMMITTED"
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
password: ""
# Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7
encoding: utf8mb4
+ variables:
+ transaction_isolation: "READ-COMMITTED"
# PostgreSQL configuration example
#production: