Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

filer mysql: adjust scaffolding instructions

Chris Lu730a032137df
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go
index 106c2dace5..7655ab8936 100644
--- a/weed/command/scaffold.go
+++ b/weed/command/scaffold.go
@@ -73,11 +73,12 @@ dir = "." # directory to store level db files
[mysql]
# CREATE TABLE IF NOT EXISTS filemeta (
# dirhash BIGINT COMMENT 'first 64 bits of MD5 hash value of directory field',
-# name VARCHAR(65535) COMMENT 'directory or file name',
-# directory VARCHAR(65535) COMMENT 'full path to parent directory',
+# name VARCHAR(1000) COMMENT 'directory or file name',
+# directory TEXT COMMENT 'full path to parent directory',
# meta BLOB,
# PRIMARY KEY (dirhash, name)
# ) DEFAULT CHARSET=utf8;
+
enabled = false
hostname = "localhost"
port = 3306