How to import WordPress database on EasyEngine

Guide on how to import WordPress MySQL database for EasyEngine 4 and earlier version.

Enter to the web directory, for example omar.web.id

cd /opt/easyengine/sites/omar.web.id/app/htdocs

Now, run this command to start import database SQL for web omar.web.id, change file.sql with the actual file name.

ee shell $domain --command="wp db import file.sql"
Code language: PHP (php)

Done.

Leave a Comment