aspose file tools*
The moose likes JDBC and the fly likes copy of existing database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "copy of existing database" Watch "copy of existing database" New topic
Author

copy of existing database

Santhosh Puttu
Greenhorn

Joined: Jun 08, 2010
Posts: 27
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
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3697
    
    5

mysqldump is one such command. Perhaps you should try one of the GUI tools to assist.


My Blog: Down Home Country Coding with Scott Selikoff
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: copy of existing database
 
Similar Threads
import database
Backing up database through java
How can I copy my database?
Need External Back Up in Java Web Application
restoring database using sql file