At 7:39 PM +0100 12/8/01, Fred Taurus wrote:
>Hello
>
>Is it possible to put the result of a Mysql request in a file
>
>and how to do this ?
>
>I try
>
>mysql >SELECT name from table where name like 'B%'; > file.txt
>
>but error !
>
>Thanks for your help
>
>Frederic

mysql> \T query.out
Logging to file 'query.out'

The command line option for \T is mysql --tee=query.out
This was added as of 3.23.28, I think.

---------------------------------------------------------------------
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