diff options
Diffstat (limited to 'weed/filer2/configuration.go')
| -rw-r--r-- | weed/filer2/configuration.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/weed/filer2/configuration.go b/weed/filer2/configuration.go index 14ca61745..91a0d6f46 100644 --- a/weed/filer2/configuration.go +++ b/weed/filer2/configuration.go @@ -35,11 +35,11 @@ dir = "." # directory to store level db files # ) DEFAULT CHARSET=utf8; # enabled = true -server = "localhost" +hostname = "localhost" port = 3306 username = "root" password = "" -database = "" # create or use an existing database, create the seaweedfs table. +database = "" # create or use an existing database connection_max_idle = 2 connection_max_open = 100 @@ -52,11 +52,12 @@ connection_max_open = 100 # PRIMARY KEY (dirhash, name) # ); enabled = false -server = "localhost" +hostname = "localhost" port = 5432 username = "postgres" password = "" -database = "" +database = "" # create or use an existing database +sslmode = "disable" connection_max_idle = 100 connection_max_open = 100 |
