Quickie - Import Database to MYSQL via SSH/Linux
Friday, December 12th, 2008Here is a quickie for importing an sql file to mysql on linux….
mysql -u -p dbname < sqlfile
Example
> mysql -u root -p wordpress_db < "/home/webster/backup.sql" > Enter Password:
And there you have it…