Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

copy of existing database

 
Santhosh Puttu
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, All,
Good Evening .

What is the command to create a copy of an existing database in mysql?
I need to manipulate my code using duplicate of my database.

I tried using mysql dump command to put duplicate copy on my desktop as:

Cd /usr/local/mysql/bin
./mysqldump studentdb > ~/Desktop/studentdb.sql

But unsuccessful.


Help me Professionals.
 
Scott Selikoff
author
Bartender
Posts: 4033
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
mysqldump is one such command. Perhaps you should try one of the GUI tools to assist.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!