Skip to content

Commit ec17a65

Browse files
committed
Update configs to support MySQL 9
1 parent 8af6eb0 commit ec17a65

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docker/mysql/init.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ALTER USER 'mvc_user'@'%' IDENTIFIED BY 'mvc_Pass995!';
2+
FLUSH PRIVILEGES;

docker/mysql/my.cnf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
[mysqld]
2+
plugin-load-add=mysql_native_password.so
3+
sql_mode = STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION
24
general_log = 1
35
general_log_file = /var/lib/mysql/general.log
46
secure-file-priv=NULL

0 commit comments

Comments
 (0)