创建 config.conf

读取配置文件
master
wangsiyuan 2023-06-05 17:19:09 +08:00
parent 5417d46dea
commit 47dde8e9ed
1 changed files with 20 additions and 0 deletions

20
config.conf Normal file
View File

@ -0,0 +1,20 @@
# 这是一个示例的配置文件
# 数据库配置
#本地连接mysql
#db_host = 192.168.2.20
#db_port = 3306
#db_username = root
#db_password = 990821
#db_name = checkip
#远程连接mysql
db_host = 52.221.48.219
db_port = 8346
db_username = root
db_password = 990821
db_name = checkip
# 服务器配置
server_host = 0.0.0.0
server_port = 8431