enable_db changes

Configuration for “enable_db”.  Need: connection test in tree_sources