aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorbwlfhu <bwlfhu@163.com>2025-05-23 12:55:21 +0800
committerGitHub <noreply@github.com>2025-05-22 21:55:21 -0700
commitf1181f1121b89d32dc1ee65d6d1cebf1123981c4 (patch)
treeee52d2d14f1aa0e058017067b910ae6a29bf8cba /weed/command
parentf3d44b1eb65328ac6aa66bd4b5687127175cbecc (diff)
downloadseaweedfs-f1181f1121b89d32dc1ee65d6d1cebf1123981c4.tar.xz
seaweedfs-f1181f1121b89d32dc1ee65d6d1cebf1123981c4.zip
Fix mysql tls enable (#6807)
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/scaffold/filer.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/command/scaffold/filer.toml b/weed/command/scaffold/filer.toml
index c834c9689..e9f140576 100644
--- a/weed/command/scaffold/filer.toml
+++ b/weed/command/scaffold/filer.toml
@@ -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"