PHP memory limit error when importing / Failed to get current SQL modes. Reason: ERROR 2003 (HY000)

Are you able to manually import the DB using steps like what Ben mentioned here?