Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
    Bookmark Topic Watch Topic
  • New Topic

How to restore mysql backup using java swing

 
Shashika Thiran
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Why does this need to be in Swing?
 
Shashika Thiran
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
This is a duplicate thread, locking this and contuing in the other
 
    Bookmark Topic Watch Topic
  • New Topic