Bootstrap database connection