Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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
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 '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 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.