Page 1 of 1

Migrating from Fedora Core 2 to 5

Posted: Wed May 03, 2006 3:46 am
by lamshuyin
Hi, all,

I am using s9y for years. It is really great. But I have a problem now. When I start to use s9y, my small home server is installed with Fedora Core 2. But as time goes on, many updates of software is for Fedora core 3 or up. I am unavoidably need to upgrade my distribution.

Although I haven't done any upgrade yet, I know there is a major upgrade of mysql and php. I am afraid, I can't migrate my database to the new distribution. It will be a nightmare to me.

Could anyone try this before or any instruction for a smooth migration of the database?

Thanks.


Jacky

Re: Migrating from Fedora Core 2 to 5

Posted: Wed May 03, 2006 8:42 am
by garvinhicking
Hi!

First of all: Don't panic. :-)

Upgrading MySQL and PHP is a task that often happens on every server.

Upgrading PHP is no problem at all, it should go seamlessly and not disturb Serendipity.

Upgrading MySQL is usually also no problems, because all existing databases and tables are preserved. You only overwrite the binary mysql files, not the "data" directory. When you do that, all data, all passwords are preserved and you should be able to use s9y like before.

I don'T explicitly know Fedora Core, so you might check back with their support forums on how to exactly achieve the upgrade. But on systems like Debian, upgrading would not be any problem.

Best regards,
Garvin

Posted: Wed May 03, 2006 1:06 pm
by falk
Safe your databases (normaly located in /var/lib/mysql), your config (/etc) and your s9y installation (/srv/www(?)) and update Fedora. Normaly there are no problems. But make a hardcopy of your phpinfo() output and look if all used php modules installed/updated after the upgrade. This is the biggest problem i see ;-).