Re: Loading an sql datafile


Subject: Re: Loading an sql datafile
From: Craig Callender (craigc@corith.com)
Date: Thu Feb 28 2002 - 15:55:35 AKST


mysql -u <user> -p < file.sql

I believe

Craig C.

On Thu, 28 Feb 2002, Mike Barsalou wrote:

Date: Thu, 28 Feb 2002 15:48:31 -0900
From: Mike Barsalou <mbarsalou@aidea.org>
To: "'aklug@aklug.org'" <aklug@aklug.org>
Subject: Loading an sql datafile

I have a datafile that has all the sql commands to create the tables and add
the data....I can't figure out how to load that sucker into my database.

Can anyone help out?

I have been looking on the mysql site, but can't figure out if I'm doing an
import or if they call it something else.

Mike

        In the beginning there was data. The data was without form and
null, and darkness was upon the face of the console; and the Spirit of
IBM was moving over the face of the market. And DEC said, "Let there
be registers"; and there were registers. And DEC saw that they
carried; and DEC separated the data from the instructions. DEC called
the data Stack, and the instructions they called Code. And there was
evening and there was morning, one interrupt.
                -- Rico Tudor, "The Story of Creation or, The Myth of Urk"



This archive was generated by hypermail 2a23 : Thu Feb 28 2002 - 15:59:04 AKST