| data | ||
| docs | ||
| frontend | ||
| src | ||
| .cursorrules | ||
| .gitignore | ||
| app.py | ||
| config.py | ||
| loiteringmunitions.md | ||
| package.json | ||
| README.md | ||
| requirements.txt | ||
| rocketparameters.md | ||
| run.py | ||
| vite.config.js | ||
数据库配置说明
本系统使用 MySQL 8.0+ 作为数据库。在安装 MySQL 后,需要:
- 创建数据库用户
CREATE USER 'equipment_user'@'localhost' IDENTIFIED BY 'your_password';
GRANT ALL PRIVILEGES ON equipment_cost_db.* TO 'equipment_user'@'localhost';
FLUSH PRIVILEGES;
- 配置数据库字符集 确保 MySQL 配置文件(my.cnf 或 my.ini)包含以下设置:
[mysqld]
character-set-server=utf8mb4
collation-server=utf8mb4_unicode_ci
[client]
default-character-set=utf8mb4