Painting Blue Code
Simple, self-explanatory code snippets.
2016-12-12
MySQL - How to restore a dump file (command-line)
/usr/local/mysql/bin/
mysql
-u
root
-p
mysql>
create database
DATABASE_NAME
;
mysql>
use
DATABASE_NAME
;
mysql>
source
DUMP_FILE_NAME.dmp
;
Substitute "root" with a more appropriate user, if any.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment