Revert "db connection"

This reverts commit a0a9ff28412fed30b4d6e9c616c152302faf9666.