List:General Discussion« Previous MessageNext Message »
From:Christopher R. Jones Date:May 28 1999 12:31pm
Subject:Re: Executing script
View as plain text  
use:
shell> mysql -u pass -ppass yourdatabase < commandscript.txt

At 12:38 PM 5/28/99 +0100, Jorge.H.Sousa wrote:
>Hi 
>
>I have a text file with a script for creating a set of table pluz
>inserting data into those tables. Is there a way to execute this file
>inside MySQL?
>
>normally I type everything by hand.
>
>thanks in advance.
>
>Jorge Sousa
>IIES - Instituto de Informática e Estatística da Solidariedade
>Ministério do Trabalho e da Solidariedade
>Rua Castilho, nº 24 - 6º
>1250-069 Lisboa
>mail: Jorge.H.Sousa@stripped
>
>
>
>---------------------------------------------------------------------
>Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
>posting. To request this thread, e-mail mysql-thread4075@stripped
>
>To unsubscribe, send a message to the address shown in the
>List-Unsubscribe header of this message. If you cannot see it,
>e-mail mysql-unsubscribe@stripped instead.
>
>
>

Christopher R. Jones, P.Eng.
14 Oneida Avenue
Toronto, ON M5J 2E3
Tel: 416 203-7465
Fax: 416 203-3044
email: cj@stripped


Thread
Executing scriptJorge.H.Sousa28 May
Re: Executing scriptChristopher R. Jones28 May