mirror of
https://github.com/CarmJos/MoeTeleport.git
synced 2026-06-04 16:46:10 +08:00
修改数据库配置读取方式,使其更简单明了
This commit is contained in:
@@ -33,9 +33,13 @@ storage:
|
||||
mysql:
|
||||
# 数据库驱动路径
|
||||
driver: "com.mysql.cj.jdbc.Driver"
|
||||
url: "jdbc:mysql://127.0.0.1:3306/<db-name>"
|
||||
# 数据库连接配置
|
||||
host: "127.0.0.1"
|
||||
port: 3306
|
||||
database: "minecraft"
|
||||
username: "username"
|
||||
password: "password"
|
||||
# 插件相关表的名称
|
||||
tables:
|
||||
last-location: "mt_last_locations"
|
||||
home: "mt_homes"
|
||||
|
||||
Reference in New Issue
Block a user