Revert "db connect"

This reverts commit 4b93629d39198b864cb127c743212da2fe6e8651.