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.

Answers


mysqldump --all-databases > databasebackup.sql

Need Your Help

Pure C function calling Objective-C method?

objective-c c function methods

Okay, I've read half a dozen threads on this subject, but none of the solutions appear to address exact needs.

Posting to a URL with wxWidgets

c++ wxwidgets wxhttp

Does anyone have some sample code showing how to POST to a URL using wxWidgets? The documentation and discussion forums imply that it's possible but the methods in wxHTTP are very low-level compare...