feat mysql

This commit is contained in:
2025-12-18 18:17:41 +08:00
parent da91cff056
commit 55c5d4cc18
44 changed files with 1460 additions and 338 deletions

View File

@@ -15,7 +15,15 @@ monitor:
db:
etcd:
address: [ "172.18.28.0:2379" ]
endpoints: [ "172.18.28.0:2379" ]
mysql:
user:
dsn: "root:gR9pV4tY7zR6qL3e@tcp(47.108.184.184:3306)/point?charset=utf8mb4&parseTime=True&loc=Local"
max_open_conn: 50
max_idle_conn: 20
conn_max_lifetime_sec: 600
conn_max_idle_time_sec: 180
log_level: "warn"
serve:
grpc: