Import single database from –all-databases dump
You can use the following command: mysql -u root -p –one-database destdbname < alldatabases.sql Where destdbname is your desired database which you want to restore. Another option which is IMHO much safer, is to extract the DB from an –all-databases dump. Example: sed -n ‘/^– Current Database: `dbname`/,/^– Current Database: `/p’ alldatabases.sql > output.sql Replace … Read more