WordPress database transfer BETWEEN LIVE AND DEVELOPMENT SITES without a plugin

by | Jun 7, 2022 | IT Tips | 0 comments

Transfer a WordPress site between Live and Development environments or domains using the command line

Take a database backup
1
mysqldump --databases wpdb -uroot -p > wp.sql
From LIVE to Development Environment
FROM DEVELOPMENT TO LIVE
IMPORT DATABASE TO MYSQL SERVER
1
mysql -uroot -p wpdb < wp.sql

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.