This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes How to restore mysql backup using java swing   Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

How to restore mysql backup using java swing

Shashika Thiran
Greenhorn

Joined: Jan 22, 2009
Posts: 24
want restore mysql backup file(c:/backup.sql) using java swing.
it's work with dos prompt like this
mysql -u uname -ppword Dname<C:/backup.sql

how can i execute this in java swing.
can anyone help me..
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3275
    
    5

Why does this need to be in Swing?


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Shashika Thiran
Greenhorn

Joined: Jan 22, 2009
Posts: 24
Any way, i want to backup and restore(import and export) MYSQL database using java application(if swing that better) please help me

thank you
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3275
    
    5

This is a duplicate thread, locking this and contuing in the other
 
Have you checked out Aspose?
 
subject: How to restore mysql backup using java swing
 
It's not a secret anymore!