Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Here is my problem, and I hope someone would help me to find a solution. My Ubuntu 12.04 is broken after an upgrade from 11.10, it won't boot up, just stops at the purple Ubuntu screen, but I can still acces partition via Live USB. Now I want to go back to the old 11.10 with an complete reinstall, but I have to backup some of my MySQL databases from my broken system, is there an easy way to do this? The help would be much appreciated.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

you can do a copy of your databases located in here.var/lib/mysql

The in the fresh install of your mysql stop the mysql. service mysql stop change the /var/lib/mysql with your data, then re-run the mysql service mysql start

share|improve this answer
1  
That should work--any subtle storage engine changes would be harmful though –  hexafraction Apr 25 '12 at 20:20
    
I'm guessing this method requires the old and the new install of MySQL server to have the same exact version? Correct? –  Petsoukos May 4 at 23:44
    
It could work on diferent versions but I'm not so sure about it. –  maniat1k May 6 at 10:53

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.