Prerequisites:

Root level SSH access to server

WP-CLI installed.

 

Steps:

1. After connecting to the server, move to the directory where your wp-config file resides

 

cd /home/rootadminz/public_html

 

2. Run the following command to import the database :

 

wp db import rootadminz_database.sql

 

This will successfully import the backed up db sql file into the WordPress database.

 

Esta resposta lhe foi útil? 0 Usuários acharam útil (0 Votos)