Click to See Complete Forum and Search --> : Source...


Anon
09-27-2001, 12:18 PM
hi ppl!

well... i've crated a source using mysql dump and let's supose its named "source.sql"... is there a way to import to sql again via any kind of command? or i have to make a query of each line of the source?


10x in advance!

mithril
09-28-2001, 06:20 AM
open a mysql command line sesson, and type the following:

\. <path>/source.sql

<path> is the full path to the source.sql file. If you're on Win32, use the Unix-style forward slash instead of the Win32 backslash. If any of the folders in your path have a space in the name, enclose <path>/source.sql in quotes. HTH.

geoff