faqts : Computers : Databases : MySQL

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

11 of 16 people (69%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

I'd like to run a text file that contains sql commans after I'm already inside mysql

Feb 24th, 2008 00:21
dman, Cal Stover, paul h., David Bolotnikoff, http://www.ttnr.org


if your in the command line client use the command "source 
<filename>".. filename being the full path of your text file containg 
your SQL...

..or if you hate typing as much as I do:

\. <filename>