From: http://blog.csdn.net/myron_sqh/article/details/13016945
$mysql -uUSERNAME -p DBNAME < DBNAME.sql