0

How to duplicate a MySQL Database

Hi, is there any way to create a duplicate copy of a MySQL Database? what is the command to do so?

Linux Database MySQL Add a comment
hebrewgranger
asked Mar 20 2018

Answer

0

You can use the following command to duplicate a Database on the same mysql database instance. It is also known as database dumping process

$mysqldump -u root -p sitedb1 > db_name.sql
Add a comment
linuxhelp
asked Jan 04 2019
Post your Answer