wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Backup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Backup" Watch "Backup" New topic
Author

Backup

Shashika Thiran
Greenhorn

Joined: Jan 22, 2009
Posts: 24
I want to get mysql data Backup using java swing.
I try to do it using mysqldump but it,s not work for me.
any idea



Runtime rt = Runtime.getRuntime();
rt.exec("c:\\Program files\\MySQL\\MySQL Server 5.1\\bin\\mysqldump -u=user -p=pass database >C:/backup.sql");

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10171
    
    8

Can you please elaborate on "it is not working"?
Remember, it always helps to tell the details

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Backup
 
Similar Threads
Hi , i am using belowcode for automatically execute backup of mysql database
How to invoke mysql backup command in java ? (mysqldump)
Back of database
How to backuping data by using Hibernate?..
Embedding MySQL Database in Java Application