--- Goutam Baul <[EMAIL PROTECTED]> wrote:
> How do I have a batch file containing some sql
> commands to execute under 
> mySQL from the dollar prompt ?


Use the "-e" option.

mysql test -A -u xxx -p -h xxx.xxx.xxx.xxx -e "SHOW
TABLES"




Mithun

__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to