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

cd /opt/easyengine/sites/

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

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


Leave a Comment