[sr-dev] git:master: Add new db option and improve connect mechanism.