Project

General

Profile

Patch #43649 ยป remove-mysql-5_7-related-comments.patch

Go MAEDA, 2026-01-07 05:34

View differences:

config/database.yml.example
1
# Default setup is given for MySQL 5.7.7 or later.
1
# Default setup is given for MySQL 8.0 or later.
2 2
# Examples for PostgreSQL, SQLite3 and SQL Server can be found at the end.
3 3
# Line indentation must be 2 spaces (no tabs).
4 4

  
......
10 10
  host: localhost
11 11
  username: root
12 12
  password: ""
13
  # Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7
14 13
  encoding: utf8mb4
15 14
  variables:
16 15
    # Recommended `transaction_isolation` for MySQL to avoid concurrency issues is
17 16
    # `READ-COMMITTED`.
18
    # In case of MySQL lower than 8, the variable name is `tx_isolation`.
19 17
    # See https://www.redmine.org/projects/redmine/wiki/MySQL_configuration
20 18
    transaction_isolation: "READ-COMMITTED"
21 19

  
......
26 24
  host: localhost
27 25
  username: root
28 26
  password: ""
29
  # Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7
30 27
  encoding: utf8mb4
31 28
  variables:
32 29
    transaction_isolation: "READ-COMMITTED"
......
41 38
  host: localhost
42 39
  username: root
43 40
  password: ""
44
  # Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7
45 41
  encoding: utf8mb4
46 42
  variables:
47 43
    transaction_isolation: "READ-COMMITTED"
    (1-1/1)