You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Software_Architecture/src/Client/config/database.ini.example

47 lines
1.1 KiB

# 战场探索系统数据库配置文件示例
# Database Configuration Example for BattlefieldExplorationSystem
#
# 这是一个示例配置文件,展示了常见的配置选项
# This is an example configuration file showing common configuration options
[Database]
# 数据库服务器地址 (Database server host)
host=localhost
# 数据库端口 (Database port)
port=3306
# 数据库名称 (Database name)
databaseName=Client
# 数据库用户名 (Database username)
username=root
# 数据库密码 (Database password)
password=example_password
# 连接超时时间,单位毫秒 (Connection timeout in milliseconds)
connectionTimeout=30000
# 数据库驱动名称 (Database driver name)
driverName=QMYSQL
# 其他常见配置示例:
# Other common configuration examples:
# 使用不同的数据库服务器
# Using different database server
# host=192.168.1.100
# port=3306
# 使用不同的数据库名称
# Using different database name
# databaseName=BattlefieldSystem
# 使用不同的用户名
# Using different username
# username=battlefield_user
# 更长的连接超时时间
# Longer connection timeout
# connectionTimeout=60000