To make a copy of live data : Mysqldump : MySQL Utilities MySQL TUTORIALS


MySQL TUTORIALS » MySQL Utilities » Mysqldump »

 

To make a copy of live data


To do this you would need to duplicate a local database.

First create the duplicate database:

mysql> CREATE DATABASE myDatabase2;

We can copy the tables from the first table into the second.

c:mysqlbinmysqldump -u root -p myDatabase | mysql -u backup -p MyPassword myDatabase2



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo MySQL Utilities
» Mysqldump