A Bunch of Linux Baloney
Where I keep Linuxisms I want to remember.
Showing posts with label
import
.
Show all posts
Showing posts with label
import
.
Show all posts
Monday, December 17, 2012
Importing a database (.sql file) into MySQL
No real trick, but I don't do this often enough to remember:
First log in to mysql and create the database named
DB-NAME
, then run the following from command line:
$
mysql -u root
DB-NAME
<
filename.sql
Older Posts
Home
Subscribe to:
Posts (Atom)