U can try this for simple scripts...

[prompt]$ mysql -u UserNm -pPasswd -h HostName -e "select * from someTable";

is this what U want??

cheers!

-Thiru

-> Hi,
-> 
->   I didn't find any information on possibility to execute script file.
->   On oracle it is possible via @file_name command from client.
->   Is it possible on mysql? I want to update 3 different databases
->   to keep these equvalent.


-----------------------------o0o----------------------------------------
                  "There is no finish line, you can always learn" 
 "You have to keep pressure on yourself,  you have to work on your weaknesses". 

Thiru
S/W Engineer, Service Dvlpment Group
Infoseek,Japan                                  Voice - (81)-3-5453-2056
http://www.infoseek.co.jp <- Click Here
http://www.rakuten.co.jp <- Click Here
http://house.infoseek.co.jp  <- Click Here
http://profile.infoseek.co.jp  <- Click Here
http://chat.infoseek.co.jp  <- Click Here
--------------------------------------------------------------------

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to