hello. after i had a server crash i need to backup all my databases. i ran a mysqldump and put everything into one file called all_back.sql.
here i am with a new server and trying to restore this. basicly the sql file has a commands to actually create the databases for me.
CREATE DATABASE /*!32312 IF NOT EXISTS*/ Jokes;
ive tried all sorts of different options to get this to dump everything back in without having to rename each databases. if i run something like
mysqldump -u root -p **** --all-databases < /files/all_back.sql
i get syntax errors.
the commands to create the databases are already in the file i just cant get mysql dump to put it back in!