Tag: command line
-
Database migration in wordpress
Database migration of wp sites in four steps using command line Assumption: mysql username: root mysql password: root Step-1: Backing up data base form old site: mysqldump -u[database_username] -p[database_password] [database_name] > [path][database_name.sql] Example: #mysqldump -uroot -proot wp_db > /root/wp_db.sql Step-2: File Transfer Transfer wp_db.sql file to server. Step-3: Create/Restore database #mysql -uroot -proot mysql>create database…