Skip to content

Commit c1b9d01

Browse files
jingmiangarylab
authored andcommitted
更新mysql8.0配置
1 parent 28e73a9 commit c1b9d01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/mysql/mysql.cnf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ default-character-set = utf8mb4
66
[mysqld]
77
user = mysql
88
port = 3306
9-
sql_mode = ""
9+
sql_mode = NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
1010

1111
default-storage-engine = InnoDB
12-
default-authentication-plugin = caching_sha2_password
12+
default-authentication-plugin = mysql_native_password
1313
character-set-server = utf8mb4
1414
collation-server = utf8mb4_unicode_ci
1515
init_connect = 'SET NAMES utf8mb4'

0 commit comments

Comments
 (0)