Win a copy of Learn Spring Security (video course) this week in the Spring 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
Saloon Keeper
Posts: 4007
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic