List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:September 27 1999 2:52pm
Subject:Re: direct access from mysql> prompt to text file
View as plain text  
At 9:09 AM -0500 9/27/99, Brian Hughes wrote:
>Hi.
>
>Since I can't save queries in MySQL I have sometimes put them in files
>which I can either use from within the editor (launched by the mysql
>monitor with the \e command) or from the Unix command line (mysql <
>something.sql).
>
>But is there a way to execute or read into the *mysql* command line a text
>file containing a query?  Matthias Redl asked this question once, and the
>only answer he got was to use the Unix command line.

You cannot do this.  You can simulate it by copy and paste, but here
is no explicit command for it.

--
Paul DuBois, paul@stripped
Thread
direct access from mysql> prompt to text fileBrian Hughes27 Sep
  • Re: direct access from mysql> prompt to text filePaul DuBois27 Sep