|
Simple enough.. Make sure the database is already created and empty (depending on what is in the sql file). If it isn't empty, the easiest thing to do is to type:
mysqladmin drop databasename
mysqladmin create databasename
After that is done, then type:
mysql databasename < file.sql
Of course, replace databasename with the real name of the database and file.sql with the filename (full path if you aren't in the current directory of it).
__________________
Patrick
Warnings: The program(s) might crash unexpectedly or behave otherwise strangely. (But of course, so do many commercial programs on Windows.) --www.gimp.org
|