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

I tried this workaround & was able to import the 486 MB sql database file created by WP Migrate Lite.

Found Local Database Port

Edited Local wp-config.php for this site

Imported Database with wp db import your-database-filename.sql

1 Like