How to clone or copy the mysql db in single command?
Submitted by rahulk on Thu, 08/20/2015 - 22:12
I want to clone my db or want export and import my mysql db using single command. Please help.
Command for Copy the DB in one go
Submitted by rahulk on Sat, 08/22/2015 - 21:57
Run the below given command, Change the variable before executing the command. mysqldump -h[HOSTNAME] -u[UNAME] -p[PASSWORD] [DBNAME] | mysql -h[HOSTNAME] -u[UNAME] -p[PASSWORD]