Connected to the database.