Skip to content

Commit 695718c

Browse files
committed
Set MySQL transaction isolation to read-committed
1 parent 37f2512 commit 695718c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ services:
88
MYSQL_DATABASE: $DB_NAME
99
MYSQL_USER: $DB_USER
1010
MYSQL_PASSWORD: $DB_PASSWORD
11+
MYSQL_TRANSACTION_ISOLATION: READ-COMMITTED
1112
# volumes:
1213
# - ./mariadb-init:/docker-entrypoint-initdb.d # Place init .sql file(s) here.
1314
# - /path/to/mariadb/data/on/host:/var/lib/mysql # Use bind mount

0 commit comments

Comments
 (0)