First run the migrations, so that Rails has the database in the situation that it thinks is right, then you can import the data (which I hope is in the same database format)
To import the data, you should be able to use something like
mysql -u username database < database_dump.sql