Use database for init connection