# 战场探索系统数据库配置文件模板 # Database Configuration Template for BattlefieldExplorationSystem # # 复制此文件为 database.ini 并根据你的环境修改配置 # Copy this file to database.ini and modify the configuration for your environment [Database] # 数据库服务器地址 (Database server host) host=localhost # 数据库端口 (Database port) port=3306 # 数据库名称 (Database name) databaseName=Client # 数据库用户名 (Database username) username=root # 数据库密码 (Database password) # 请修改为你的MySQL密码 (Please change to your MySQL password) password=hzk200407140238 # 连接超时时间,单位毫秒 (Connection timeout in milliseconds) connectionTimeout=30000 # 数据库驱动名称 (Database driver name) driverName=QMYSQL # 配置说明: # 1. 如果你的MySQL用户名不是root,请修改username字段 # 2. 请务必修改password字段为你的MySQL密码 # 3. 如果你的MySQL运行在不同的主机或端口,请修改host和port字段 # 4. 如果你使用不同的数据库名称,请修改databaseName字段 # # Configuration Notes: # 1. If your MySQL username is not 'root', modify the username field # 2. You MUST modify the password field to your MySQL password # 3. If your MySQL runs on different host or port, modify host and port fields # 4. If you use different database name, modify databaseName field