Fix mysql tls enable (#6807)

This commit is contained in:
bwlfhu
2025-05-23 12:55:21 +08:00
committed by GitHub
parent f3d44b1eb6
commit f1181f1121
2 changed files with 45 additions and 3 deletions

View File

@@ -54,6 +54,10 @@ enabled = false
# dsn will take priority over "hostname, port, username, password, database".
# [username[:password]@][protocol[(address)]]/dbname[?param1=value1&...&paramN=valueN]
dsn = "root@tcp(localhost:3306)/seaweedfs?collation=utf8mb4_bin"
enable_tls = false
ca_crt = "" # ca.crt dir when enable_tls set true
client_crt = "" # mysql client.crt dir when enable_tls set true
client_key = "" # mysql client.key dir when enable_tls set true
hostname = "localhost"
port = 3306
username = "root"