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
+13
View File
@@ -0,0 +1,13 @@
-- MySQL 初始化脚本 - 确保数据库以正确的字符集创建
-- 此脚本仅在首次初始化时执行(数据目录为空时)
-- 如果数据库不存在,则创建(使用 utf8mb4 字符集)
CREATE DATABASE IF NOT EXISTS CapacityReport
CHARACTER SET utf8mb4
COLLATE utf8mb4_unicode_ci;
-- 切换到数据库
USE CapacityReport;
-- 输出确认信息
SELECT 'CapacityReport database initialized with utf8mb4 charset' AS status;