Forum Moderators: open

Message Too Old, No Replies

MySQL CLI copy and rename commands?

         

lorax

2:34 pm on Dec 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I'm creating a sandbox db to use for some development and testing work. I have SSH access and would like to use the command line to copy the live version of my db and then save/rename the copy to a different db on the same server. I can't seem to locate the command(s) at MySQL's website. Could someone nudge me in the right direction please?

lorax

4:04 pm on Dec 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Ha! Answered my own question - well actually tech support did.

cp -rf sourcedb targetdb