- Create a new LocalWP Site.
- Unzip the db_name.sql.gz into the /app/public directory
- Open the Site Shell
- Visit the MySQL subshell using the command:
wp db query- Create the database, use the database, and import the source file:
CREATE DATABASE db_name;
use db_name;
SET autocommit=0; source db_name.sql; COMMIT;- The import process will begin...