Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Can I get a dump or data or import in some way a database from the /var/lib/mysql folder? I lost all I had on the server but this folder: how can I recover my databases? (They use Innodb as sql engine, and I read about troubles with it instead of Innodb, nothing more I found).

share|improve this question

migrated from stackoverflow.com Nov 16 '11 at 8:17

This question came from our site for professional and enthusiast programmers.

1  
Take a look at mysqldump. Also consider accepting answers to more of your old questions. –  hafichuk Nov 7 '11 at 14:50
    
First, backup what you have once more, and make sure it's safe. Then, start fiddling. You'll want to start a new MySQL server and configure it to use those files as datafiles. –  Konerak Nov 7 '11 at 14:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.