I have a dump of a database ( 'blahdb.sql' ) from the remote machine. I want to use it to create the database on my home machine. How do I do this? This question seems to be too easy for even the manual to address, but I sure can't figure it out.
| SitePoint Sponsor |
I have a dump of a database ( 'blahdb.sql' ) from the remote machine. I want to use it to create the database on my home machine. How do I do this? This question seems to be too easy for even the manual to address, but I sure can't figure it out.
cheers,
Darren Cassidy
On your command-line, run
Code:$ mysql mysql> create database database_name; mysql> quit $ mysql database_name < blahdb.sql
Bookmarks