20251222
This commit is contained in:
21
Server/mysql.cnf
Normal file
21
Server/mysql.cnf
Normal file
@@ -0,0 +1,21 @@
|
||||
# MySQL 自定义配置
|
||||
|
||||
[mysqld]
|
||||
# 字符集配置
|
||||
character-set-server=utf8mb4
|
||||
collation-server=utf8mb4_unicode_ci
|
||||
|
||||
# 性能优化
|
||||
max_connections=200
|
||||
innodb_buffer_pool_size=256M
|
||||
innodb_log_file_size=64M
|
||||
|
||||
# 时区配置
|
||||
default-time-zone='+08:00'
|
||||
|
||||
[mysql]
|
||||
default-character-set=utf8mb4
|
||||
|
||||
[client]
|
||||
default-character-set=utf8mb4
|
||||
|
||||
Reference in New Issue
Block a user