after creating the database with "mysql create DATABASE"
do a mysql < .sqlfile.

Make sure to add the line use DATABASENAME; at the top of the sql file.
On Fri, 2003-07-18 at 14:44, Taylor Lewick wrote:
> I have a large SQL file that contains a bunch of create table statements...
> How do I get mysql to read in this file and process the sql.  
> 
> I am not thinking load data infile because it isn't text...
> 
> ****************************************************************
>                       Please Note
> The information in this E-mail message is legally privileged
> and confidential information intended only for the use of the
> individual(s) named above. If you, the reader of this message,
> are not the intended recipient, you are hereby notified that 
> you should not further disseminate, distribute, or forward this
> E-mail message. If you have received this E-mail in error,
> please notify the sender. Thank you
> *****************************************************************


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to