How do you get output like below without retyping the command ("SELECT count(*) FROM config a INNER JOIN config b USING (gid) WHERE a.gid=10856")?
I'm using Windows Me. The following type of command does not work: C:\mysql\bin>mysql --tee=\mysqluw\out.txt -T stud < \mysqluw\mysql.txt -------------------------------------------------------- mysql> SELECT count(*) FROM config a INNER JOIN config b USING (gid) WHERE a.gid=10856; +----------+ | count(*) | +----------+ | 1 | +----------+ 1 row in set (0.00 sec) mysql> SELECT version(); +-------------+ | version() | +-------------+ | 3.23.42-log | +-------------+ 1 row in set (0.00 sec) --------------------------------------------------------------------- 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