Got iit to connect to the database.