mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-29 17:56:12 +08:00
35 lines
819 B
Plaintext
35 lines
819 B
Plaintext
|
[mysqld]
|
||
|
datadir=/opt/metersphere/data/mysql
|
||
|
|
||
|
default-storage-engine=INNODB
|
||
|
character_set_server=utf8mb4
|
||
|
lower_case_table_names=1
|
||
|
performance_schema=off
|
||
|
table_open_cache=128
|
||
|
transaction_isolation=READ-COMMITTED
|
||
|
max_connections=1000
|
||
|
max_connect_errors=6000
|
||
|
max_allowed_packet=64M
|
||
|
innodb_file_per_table=1
|
||
|
innodb_buffer_pool_size=256M
|
||
|
innodb_lock_wait_timeout=1800
|
||
|
|
||
|
server-id=1
|
||
|
log-bin=mysql-bin
|
||
|
expire_logs_days = 2
|
||
|
binlog_format=mixed
|
||
|
|
||
|
character-set-client-handshake = FALSE
|
||
|
character-set-server=utf8mb4
|
||
|
collation-server=utf8mb4_general_ci
|
||
|
init_connect='SET default_collation_for_utf8mb4=utf8mb4_general_ci'
|
||
|
|
||
|
sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
|
||
|
|
||
|
skip-name-resolve
|
||
|
|
||
|
[mysql]
|
||
|
default-character-set=utf8mb4
|
||
|
|
||
|
[mysql.server]
|
||
|
default-character-set=utf8mb4
|