MySQL upgrade kills perl webapp?

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

Oh, I just read in the changelog for php that you're linking against mysql 4.1 since 4.4.1-2. So I'll need to downgrade to 4.4.1-1 or older, as they are linked to mysql3 apparently. However, 4.4.0-3 is the newest mysql3-linked php release up on your server. Why was 4.4.1 removed?
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

I just downgraded to php 4.4.0-3 and the old 3.23.58 mysql. However, some sites stopped working and phpmyadmin couldn't open those databases. Didn't mysql 4.x add utf-8 support? I think some clients may have changed the charset of their databases... :( :(

I'm currently upgrading back to your mysql 4.1 and php 4.4.2 again...
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

Ok, I'm kind of stuck now. Upgraded again and the sites that broke after downgrading are working again. But my perl app is still broken.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Man you have bad timing :P I had just cleared out some of the older packages from the archive this morning to free up some space.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Another option here, and its a fun one, is to rebuild php-4.4.2 on your system with the native mysql 3 client libraries.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

I just decided to take the perl app off that server and moved it to a CentOS 4.2 server with the distro's own MySQL 4.1.12 (server uses ART, but not for mysql) and it's working again. So I guess I won't fuss with this any further.

Thanks for the help though, Scott. You're really a great help.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

yeah the CentOS4 and FC4 systems really make a lot of this go away. So to cause trouble again Ive started working on PHP 5.1 and Mysql 5 rpms:

http://3es.atomicrocketturtle.com/atomi ... rt/4/RPMS/
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

If I would install your mysql rpm on that CentOS 4 box, I wouldn't be having the mixed MySQL3/4.1 environment problems right? However, I do see a mysql-compat package in your 4ES packages. What is that for then?

I believe the CentOS Plus channel has PHP5, but for now I'll stick with PHP 4.4 and MySQL 4.1.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

CentOS4 is already using mysql 4.1, so all you'd get is the newer version of the package. The compat library probably wont be needed on CentOS4 or FC4.
Post Reply