Page 1 of 1

Import mysql dump file into mysql via command line

Posted: Wed Dec 06, 2006 5:37 pm
by Luke
I have never used the command line to import a dumpfile... how do I do it? I tried a few things I found on mysql's site, but none of them seemed to work. I don't know what I'm doing wrong.

(the file is just a bunch of inserts one after another)

Posted: Wed Dec 06, 2006 5:42 pm
by feyd
What did you try?

Posted: Wed Dec 06, 2006 5:50 pm
by Luke
dammit... :oops: I found it... :oops: :oops:

Code: Select all

SOURCE 'filename.sql';