Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

copy of existing database

 
Santhosh Puttu
Greenhorn
Posts: 27
  • 0
  • 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
Saloon Keeper
Posts: 3905
16
Eclipse IDE Flex Google Web Toolkit
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic