[mysqld] # 本地开发配置 — 调低资源占用 innodb_buffer_pool_size = 512M innodb_buffer_pool_instances = 1 innodb_redo_log_capacity = 256M innodb_flush_log_at_trx_commit = 1 innodb_file_per_table = 1 max_connections = 50 wait_timeout = 300 interactive_timeout = 300 character-set-server = utf8mb4 collation-server = utf8mb4_unicode_ci slow_query_log = 0 skip-log-bin