How to completely backup all mysql databases
My server crashed yesterday and now I have the hard disk mounted in a Linux live environment. How can I backup all the databases so I can copy them to the new server?
I don't know all of my database names so I can't use mysqldump for each one of them.
EDIT: I don't have and can't install the MySQL service.
mysqldump --all-databases > databasebackup.sql