Initialize the sql connection