dbTalk Databases Forums  

exec mysql

mailing.database.mysql-java mailing.database.mysql-java


Discuss exec mysql in the mailing.database.mysql-java forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Pierre-Etienne Melet
 
Posts: n/a

Default exec mysql - 07-28-2004 , 04:54 PM






Hi all,

i'm (desesperatly) trying, on Linux, to use Process.exec to run
something like:

exec("/usr/../mysql -uuser -ppass -e \"source ...\" DB");

but the only output i get is '--help' contents.

I'm quite surprised since

exec("/usr/.../mysqldump -uuser -ppass --opt DB")

works perfectly.

Have anybody tried this, or do you have any other solution (apart
from parsing my file and using executeQuery/executeUpdate ;-) ?

Thanks

Pierrot

--
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe: http://lists.mysql.com/java?unsub=my...ie.nctu.edu.tw


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.