Enhance database management features by adding an API endpoint to drop all tables with double confirmation. Implement configuration file upload and download functionalities, including backup of the existing configuration. Update UI elements for improved user experience, including pagination controls and toast notifications. Adjust Docker and git ignore files to optimize build processes.

This commit is contained in:
2026-01-14 18:27:05 +08:00
parent 866fc1cb06
commit 5b50c9750f
19 changed files with 2424 additions and 166 deletions
+35
View File
@@ -0,0 +1,35 @@
# MySQL 自定义配置 - CapacityReport
# 启用 LOAD DATA LOCAL INFILE 支持
[mysqld]
# 字符集
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
# 启用 LOAD DATA LOCAL INFILE
local_infile = ON
secure_file_priv = ""
# 性能优化
max_allowed_packet = 256M
innodb_buffer_pool_size = 512M
innodb_log_file_size = 128M
innodb_flush_log_at_trx_commit = 2
sync_binlog = 0
# 连接设置
max_connections = 200
wait_timeout = 28800
interactive_timeout = 28800
# 日志(可选,生产环境建议注释掉)
# general_log = 1
# general_log_file = /var/lib/mysql/general.log
[mysql]
# 客户端设置
local_infile = ON
default-character-set = utf8mb4
[client]
default-character-set = utf8mb4