enable the database to connect