personal knowledgebase
with one comment
mysql -h SERVER -uUSER -p DATABASE < DUMPFILE
Written by hgrimelid
January 6th, 2009 at 7:58 pm
Posted in Server
Tagged with backup, cli, mysql
Subscribe to comments with RSS or TrackBack to 'Importing a MySQL dump file'.
For clarity, you can also use the ‘-D’ or ‘–database’ option(s) to specify the database, but its not really needed. Just an extra bit of information.
Jeff
18 Jan 09 at 16:21
Name (required)
Mail (will not be published) (required)
Website
For clarity, you can also use the ‘-D’ or ‘–database’ option(s) to specify the database, but its not really needed. Just an extra bit of information.
Jeff
18 Jan 09 at 16:21