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 fro
easy:
linux/unix:
mysql -h myhost -u myuser -p [mydatabase] < mysqcript.sql
nt:
type myscript.sql | mysql -h myhost -u myuser [mydatabase]
where "mydatabase" is optional.
tip: read the manual, it's all in there :)
gl
rene
- Original Message -
From: "Andris Jancevskis" <[EMAIL PROTE