mysql -u<username> -p<password> databaseName < /path/fileName.sql
mysql> use db_name; mysql> source backup-file.sql;