trying to establish connection with sql