From dos, replace anthing in () including the ()'s
To save SQL databases or just tables to a file:
mysqldump (database) (optional table) > (output file)
To import a SQL file from the command line:
mysql (database) < (source file)
an optional -f after mysql will suppress beeps if duplicate entries or other errors.
Check your mysql dir for the html based help file, it has lots of good stuff in there. Probably start with the index file.
|