Create DB before creating the config dir