1
0
Code Issues Pull Requests Projects Releases Wiki Activity GitHub Gitee
tools/netease_music/mysql配置备份/my - version 1.ini
2023-12-24 03:18:01 +08:00

50 lines
1.2 KiB
INI

# 家笔记本Win11中配置
[mysql]
default-character-set=utf8mb4
[mysqld]
port=3306
default_authentication_plugin=mysql_native_password
basedir=D:/Program/Development/Environment/phpstudy_pro/Extensions/MySQL8.0.12/
datadir=D:/Program/Development/Environment/phpstudy_pro/Extensions/MySQL8.0.12/data/
character-set-server=utf8mb4
default-storage-engine=InnoDB
max_connections=1000
collation-server=utf8mb4_unicode_ci
init_connect='SET NAMES utf8mb4'
innodb_buffer_pool_size=64M
# 64M 1G 4G 5G
innodb_flush_log_at_trx_commit=1
innodb_lock_wait_timeout=120
innodb_log_buffer_size=4M
innodb_log_file_size=256M
interactive_timeout=120
join_buffer_size=2M
key_buffer_size=32M
log_error_verbosity=1
max_allowed_packet=16M
max_heap_table_size=64M
myisam_max_sort_file_size=64G
myisam_sort_buffer_size=32M
read_buffer_size=512kb
read_rnd_buffer_size=4M
skip-external-locking=on
sort_buffer_size=256kb
table_open_cache=256
thread_cache_size=16
tmp_table_size=64M
wait_timeout=120
skip-log-bin
server_id=100
gtid_mode=off_permissive
enforce_gtid_consistency=on
replicate_do_db=neteasemusic
replicate_ignore_db=mysql
slave_skip_errors=all
[client]
port=3306
default-character-set=utf8mb4