Created a constructor to set mysql connection variables