Project

General

Profile

Patch #39592 ยป update-database_yml_example.patch

Go MAEDA, 2023-11-22 10:14

View differences:

config/database.yml.example
10 10
  password: ""
11 11
  # Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7
12 12
  encoding: utf8mb4
13
  variables:
14
    # You must set your MySQL server's `transaction_isolation` to
15
    # `READ-COMMITTED`.
16
    # See https://www.redmine.org/projects/redmine/wiki/MySQL_configuration
17
    transaction_isolation: "READ-COMMITTED"
13 18

  
14 19
development:
15 20
  adapter: mysql2
......
19 24
  password: ""
20 25
  # Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7
21 26
  encoding: utf8mb4
27
  variables:
28
    transaction_isolation: "READ-COMMITTED"
22 29

  
23 30
# Warning: The database defined as "test" will be erased and
24 31
# re-generated from your development database when you run "rake".
......
31 38
  password: ""
32 39
  # Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7
33 40
  encoding: utf8mb4
41
  variables:
42
    transaction_isolation: "READ-COMMITTED"
34 43

  
35 44
# PostgreSQL configuration example
36 45
#production:
    (1-1/1)