Created the sql database and connected to it