use inherited database config
use old-style env based config if no url available