Skip to content

Commit 20572d7

Browse files
committed
use MySQL 8.0 in Docker
1 parent d0691d7 commit 20572d7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docker-compose.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ services:
1010
- db
1111

1212
db:
13-
image: mysql:5.5
14-
# utf8mb4 would be better. This is for bug-for-bug consistency with svt4.
15-
command: mysqld --character-set-server=utf8 --collation-server=utf8_general_ci
13+
# Hack: `-debian` because `mysql:8.0` uses oraclelinux 9, which requires x86-64-v2, but omega.svt cpu is too old.
14+
image: mysql:8.0-debian
15+
# The default plugin (caching_sha2_password) doesn't work with PHP < 7.4.
16+
command: mysqld --default-authentication-plugin=mysql_native_password
1617
environment:
1718
MYSQL_ROOT_PASSWORD: root
1819
MYSQL_DATABASE: anketa

0 commit comments

Comments
 (0)