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.


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

| improve this answer | |
  • 1
    That should work--any subtle storage engine changes would be harmful though – nanofarad 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 '14 at 23:44
  • It could work on diferent versions but I'm not so sure about it. – maniat1k May 6 '14 at 10:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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