Hello,
I have start filer using following command in windows.
weed filer
Now the default in filer.toml file is as below:
[leveldb2]
# local on disk, mostly for simple single-machine setup, fairly scalable
# faster than previous leveldb, recommended.
enabled = true
dir = "./filerldb2"
[mysql] # or tidb
#CREATE TABLE IF NOT EXISTS filemeta (
# dirhash BIGINT COMMENT 'first 64 bits of MD5 hash value of directory field',
#name VARCHAR(1000) COMMENT 'directory or file name',
#directory TEXT COMMENT 'full path to parent directory',
#meta LONGBLOB,
#PRIMARY KEY (dirhash, name)
# ) DEFAULT CHARSET=utf8;
enabled = false
hostname = "localhost"
port = 3306
username = "root"
password = "root"
database = "tidb" # create or use an existing database
connection_max_idle = 2
connection_max_open = 100
interpolateParams = false
Now my requirement is to disable leveldb2 and enable mysql. I have updated the property enabled to false in leveldb2 and enabled to true in mysql but somehow filer still point to leveldb2 and also tabel is not created in database.
Can someone provide me correct configuration
Thanks,
Bhavesh K