problem executing batch files
Nicklers <[email protected]>
| Newsgroups | gmane.comp.db.mysql.java |
|---|---|
| Message-ID | <[email protected]> |
hello there. im encoutering problem in restoring my database using a text
file. everytime i run my codes nothing happens. this is my code:
try
{
Runtime.getRuntime().exec("C:\\Program Files\\MySQL\\MySQL
Server 4.1\\bin\\mysql -u root -p032702 gino < sqlDump.sql");
}
catch(Exception e)
{
System.out.println(e.getMessage());
System.out.println(e.getCause());
}
can someone help me with this? this is really important.
--
View this message in context: http://www.nabble.com/problem-executing-batch-files-tf2640533.html#a7370946
Sent from the MySQL - Java mailing list archive at Nabble.com.
--
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe: http://lists.mysql.com/[email protected]