List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:December 9 2001 1:15am
Subject:Re: HOW TO : SQL Request in a file
View as plain text  
At 7:39 PM +0100 12/8/01, Fred Taurus wrote:
>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

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.
Access denied for userjosep6 Dec
  • Re: [PHP] Access denied for userJon Farmer6 Dec
  • Re: Access denied for userDaniel Rezny6 Dec
    • HOW TO : SQL Request in a fileFred Taurus8 Dec
      • Re: HOW TO : SQL Request in a fileRichard R. Harms8 Dec
      • Re: HOW TO : SQL Request in a filePaul DuBois9 Dec
RE: [PHP] Access denied for userRichard Black6 Dec