Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. 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

I have a LAMP server on my LAN running a very old version of RedHat with MySQL 5.0, and I'm trying to migrate it to Ubuntu 12.04 to update it.

I know the advice is to migrate MySQL 5.0 to 5.1 then 5.2, and so on. However, there are no triggers or stored procedures in these databases, just simple MyISAM and InnoDB tables and indexes.

Can anyone tell me what if I can just export the databases in 5.0 from the RedHat server using phpMyAdmin, and then import them into 5.5 on Ubuntu?

The data is mainly used by PHP to build dynamic web pages.

share|improve this question
  1. Make full back (preferably mysqldump)

  2. Follow official guide :

and also this one

share|improve this answer
Thanks @rkosegi. 1. I don't know how to start MySQL from the command line in RedHat. I'm using phpMyAdmin, which allows me to export all the tables as SQL, and I have been able to import them to the new server. 2. Yes, I knew about the official guide, that's where I read that I should migrate MySQL 5.0, to 5.1, then 5.2, and so on. But my question was whether I can avoid that. I don't know how to get the intermediate versions of MySQL and install them in Ubuntu, or I would have just followed the official guide. Re the second link, I just set up all the privileges from scratch. – Roy Grubb Sep 19 '12 at 5:08

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.