fir3net

PPS-Firenetbanner-780.5x190-30-03-17

How to clone a MySQL database

 Below shows your the steps needed to clone a MySQL database.

mysqladmin create [new db name] -u [username] --password=[password] && \
mysqldump -u [username] ---password=[password] [old db name] | mysql -u [username] --password=[password] -h [host] [new db name]