or, from a shell prompt: [ernie@ns1 ernie]$ cat script.sql|mysql
> -----Original Message----- > From: Kevin Smith [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 22, 2001 12:19 PM > To: TOMASSONI Dominique; 'MySQL_mailing_list' > Subject: Re: Execute a file containing a sql script > > > mysql> source /path/to/file > > ----- Original Message ----- > From: "TOMASSONI Dominique" <[EMAIL PROTECTED]> > To: "'MySQL_mailing_list'" <[EMAIL PROTECTED]> > Sent: Monday, October 22, 2001 5:08 PM > Subject: Execute a file containing a sql script > > > > Hi, > > > > I'm a beginner in MySQL (also in english) so sorry for my > uninterristing > > questions. > > > > I've installed MySQL 3.23.43 on a Linux RedHat 7.0 system, > and it seems to > > work normally. > > > > How to execute a sql script which is inclus in a text file (ex : > script.sql) > > ? > > With Oracle, you know, it's done with @script.sql. > > > > Thank you for your answers. > > > > > > > --------------------------------------------------------------------- > > 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 > > --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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