Many times we fail to restore the mysql dump from command line.
Some times mysql server crash. First go to your filesystem.
Here I am using the fedora OS for this example

In linux go to /var/lib/mysql path

In that folder each folder means seprate database.

Copy that all folders to your local machine.
again go to your mysql local installtion and paste that folder into your mysql folder.

For in each database folder file you will find follwoing types of files in the folder
db.opt
test.frm
test.MYD
test.MYI

just copy and paste in your system

You might also like

Force remove the rpm from linux box
Install Mysql cluster on Fedora box
Easy Steps for setting up nginx with php on Linux
How to install mysql-connector-java / mysql-connector-odbc on fedora
How to set cron jobs in Linux

4 Responses to “How to take mysql backup from file system”

  1. [...] This post was mentioned on Twitter by wordpressapi. wordpressapi said: RT @wordpressapi How to take mysql backup from file system http://bit.ly/dr5ZPJ [...]

  2. I really enjoy the blog post. Much obliged.

  3. Advantageously, the article is actually the best on this deserving issue. I fit in with your conclusions and will thirstily look forward to your comingupdates. Saying thanks will not just be adequate, for the fantasticlucidity in your writing.

  4. Staples says:

    Good post, thanks

Leave a Reply

Wordpressapi is developer code book.
wordpressapi on Facebook
© 2010 Wordpressapi. All Rights Reserved. Reproduction without explicit permission is prohibited.