Refactor Dockerfile for Python 3.13, enhance health check, and add server info retrieval. Implement LOAD DATA INFILE support in DatabaseManager for improved CSV import performance. Introduce script editor for SQL management with save and format functionalities. Update UI for database management and script editing, including status indicators and improved layout.

This commit is contained in:
2026-01-14 14:47:25 +08:00
parent f389c0722d
commit 866fc1cb06
127 changed files with 56470 additions and 94 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