← WordPress Help
Export and import a database with WP-CLI
Follow these Cyber Grapes steps to export and import a database with WP-CLI for WordPress. Keep credentials handy, save your work, and allow time for DNS or publish changes before you retest.
- Sign in to Cyber Grapes, open My Products, select the hosting plan that holds your WordPress site, then open WordPress or visit yoursite.com/wp-admin.
- In WordPress dashboard (wp-admin), open MySQL Databases, phpMyAdmin, or the database tool for your plan.
- Create, import, or export as required for and import a database with wp-cli. Keep a downloadable backup first.
- Update wp-config.php or app connection strings if the database name, user, or host changed.
- Save your changes, then verify the result (site load, mailbox login, certificate padlock, or app sync).
Tip: DNS and SSL changes can take from a few minutes up to 48 hours to show everywhere. Test again after propagation before assuming the change failed.
Need more help? Call Cyber Grapes 24/7 Sales & Support (domains, email and websites) at 763-CGRAPES (763-247-2737) or visit help.cybergrapes.com.