mysql can compile, not yet tested!

This commit is contained in:
Chris Lu
2018-05-26 05:32:15 -07:00
parent c1e353491a
commit 68bcaff14d
5 changed files with 188 additions and 16 deletions

View File

@@ -20,13 +20,20 @@ enabled = false
dir = "." # directory to store level db files
[mysql]
# also need to manually create seaweedfs table.
# CREATE TABLE IF NOT EXISTS seaweedfs (
# directory VARCHAR(4096) NOT NULL DEFAULT "" COMMENT 'full path to parent directory',
# name VARCHAR(1024) NOT NULL DEFAULT "" COMMENT 'directory or file name',
# meta BLOB,
# PRIMARY KEY (directory, name),
# ) DEFAULT CHARSET=utf8;
enabled = true
server = "192.168.1.1"
port = 8080
username = ""
server = "localhost"
port = 3306
username = "root"
password = ""
database = ""
connection_max_idle = 100
connection_max_idle = 2
connection_max_open = 100
[postgres]