RE: upgrading mysql on RH fedora core 3

2005-03-30 Thread bruce
hey...

i now have FC2 running mysql-4.1.10a, php5, apache 2.0.51.

for some reason, the mysql rpms that i got from rpmfind.net/rpm.pbone,
etc...  didn't seem to work, as i kept getting weird lib related errors...

i started using mysql-3.23 on FC2.

i basically followed the path/instructions from
http://www.whoopis.com/howtos/php5-mysql4-FC3-rpm.html, replacing my
system/requirements where applicable.

basic steps:
 1) use 'rpm -qa | grep -i mysql' to get all rpms dealing with mysql
 2) remove these rpms 'rpm -e ...'
 3) get the replacement rpms from www.mysql.com
 4) upgrade using 'rpm -Uvh '
 5) resolve any errors/issues...

for my system, i only needed to focus on the mysql, as i already had php5
up/running.

i chose this approach, as i didn't want to deal with rebuilding from source
at this time.

good luck!!




-Original Message-
From: Florin Andrei [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 29, 2005 8:40 PM
To: mysql@lists.mysql.com
Subject: Re: upgrading mysql on RH fedora core 3


On Tue, 29 Mar 2005 19:28:56 -0800, bruce [EMAIL PROTECTED] wrote:

 we're trying to install mysql/mysql-server (4.1.10a-1.i386) and are
running
 into some serious problems. we had mysql/server (3.23.52-3.i386) running,
 but needed to go to the higher version...

I was about to attempt the same thing. My thinking was to grab the
mysql src.rpm from Fedora Core 4 test 1 and rebuild it on FC3:

rpmbuild --rebuild mysql...src.rpm

Please try that and see how it goes.

 also, this has to be running with apache/php/perl/etc...

My feeling is that apache does not need to be rebuilt.
PHP certainly does, from src.rpm, after the new mysql is installed
(including mysql-devel). I am not sure whether it would just work to
grab the PHP src.rpm from FC3 updates and rebuild it on top of the new
mysql, or get the PHP src.rpm from FC4-test and rebuild.
Perl is in the same situation, but it's probably even more complex.

If i were you, i would probably post on the fedora-test mailing list
and ask the same question.

Anyway, good luck and let us know how it goes.

--
Florin Andrei

http://florin.myip.org/

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



upgrading mysql on RH fedora core 3

2005-03-29 Thread bruce
hi...

we're trying to install mysql/mysql-server (4.1.10a-1.i386) and are running
into some serious problems. we had mysql/server (3.23.52-3.i386) running,
but needed to go to the higher version...

can someone tell us how/what we need to do to get this working correctly.
actually, if anybody's managed to do this, can you tell us exactly what rpm
packages you used? as you know, dealing with the rpms gets into dependency
hell, which we believe has a lot to do with our issues...

if you managed to get this version of mysql running on FC3, and you built it
from source, can you provide directions/pointers on what you did, where you
placed the resulting libs/etc...

also, this has to be running with apache/php/perl/etc...

thanks

bruce


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: upgrading mysql on RH fedora core 3

2005-03-29 Thread Florin Andrei
On Tue, 29 Mar 2005 19:28:56 -0800, bruce [EMAIL PROTECTED] wrote:
 
 we're trying to install mysql/mysql-server (4.1.10a-1.i386) and are running
 into some serious problems. we had mysql/server (3.23.52-3.i386) running,
 but needed to go to the higher version...

I was about to attempt the same thing. My thinking was to grab the
mysql src.rpm from Fedora Core 4 test 1 and rebuild it on FC3:

rpmbuild --rebuild mysql...src.rpm

Please try that and see how it goes.

 also, this has to be running with apache/php/perl/etc...

My feeling is that apache does not need to be rebuilt.
PHP certainly does, from src.rpm, after the new mysql is installed
(including mysql-devel). I am not sure whether it would just work to
grab the PHP src.rpm from FC3 updates and rebuild it on top of the new
mysql, or get the PHP src.rpm from FC4-test and rebuild.
Perl is in the same situation, but it's probably even more complex.

If i were you, i would probably post on the fedora-test mailing list
and ask the same question.

Anyway, good luck and let us know how it goes.

-- 
Florin Andrei

http://florin.myip.org/

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: upgrading mysql on RH fedora core 3

2005-03-29 Thread Daniel Kasak
bruce wrote:

hi...

we're trying to install mysql/mysql-server (4.1.10a-1.i386) and are running
into some serious problems. we had mysql/server (3.23.52-3.i386) running,
but needed to go to the higher version...

can someone tell us how/what we need to do to get this working correctly.
actually, if anybody's managed to do this, can you tell us exactly what rpm
packages you used? as you know, dealing with the rpms gets into dependency
hell, which we believe has a lot to do with our issues...

if you managed to get this version of mysql running on FC3, and you built it
from source, can you provide directions/pointers on what you did, where you
placed the resulting libs/etc...

also, this has to be running with apache/php/perl/etc...

thanks

bruce
  

I would strongly suggest backing up your databases first :)
I would also ( if possible ) do the import and testing on another PC,
while the production server continues.
You may have to recompile php and Perl's DBI drivers, or you *may* be
able to find some RPMs that will just 'drop in', but I don't use rpms so
I couldn't say. The DBI drivers aren't marked as stable yet on my distro
( Gentoo ), so be careful there.
If you use ODBC, you will have to upgrade to the latest version of
MyODBC - which has some bugs so scan the MyODBC mailing list first.

-- 
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: [EMAIL PROTECTED]
website: http://www.nusconsulting.com.au

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: upgrading mysql on RH fedora core 3

2005-03-29 Thread Tom Crimmins

On Tuesday, March 29, 2005 21:29, bruce wrote:
 hi...
 
 we're trying to install mysql/mysql-server (4.1.10a-1.i386) and are
 running into some serious problems. we had mysql/server
 (3.23.52-3.i386) running, but needed to go to the higher version...
 
 can someone tell us how/what we need to do to get this working
 correctly. actually, if anybody's managed to do this, can you tell us
 exactly what rpm packages you used? as you know, dealing with the
 rpms gets into dependency hell, which we believe has a lot to do with
 our issues... 
 
 if you managed to get this version of mysql running on FC3, and you
 built it from source, can you provide directions/pointers on what you
 did, where you placed the resulting libs/etc...
 
 also, this has to be running with apache/php/perl/etc...
 
 thanks
 
 bruce

I use mysql primarily on RHEL3, but I just upgraded a FC2 box just to try 
it. I was able to upgrade it using the rpm's from dev.mysql.com. I did
notice
one thing. The rpm install didn't seem to kill the old mysqld properly, so I

got an access denied right after the install. I ran the following as root:

#killall mysqld
#service mysql start

After that I was then able to connect just fine.

As far as perl, php, and apache, everything will continue to work without 
modification if you continue to use the old password hashes. You can force 
this. Refer to http://dev.mysql.com/doc/mysql/en/old-client.html,
specifically 
the old-password option.

To make perl work with the new passwords, all you need to do is build
DBD::mysql 
from source. To do this, uninstall the dbd-mysql rpm if you have it
installed. I 
can't remember the exact name because I don't use it. Then as root run:

#perl -e shell -MCPAN
cpaninstall DBD::mysql

Regards,

-- 
Tom Crimmins
Interface Specialist
Pottawattamie County, Iowa

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: upgrading mysql on RH fedora core 3

2005-03-29 Thread Florin Andrei
On Tue, 29 Mar 2005 20:39:54 -0800, Florin Andrei
[EMAIL PROTECTED] wrote:
 On Tue, 29 Mar 2005 19:28:56 -0800, bruce [EMAIL PROTECTED] wrote:
 
  we're trying to install mysql/mysql-server (4.1.10a-1.i386) and are running
  into some serious problems. we had mysql/server (3.23.52-3.i386) running,
  but needed to go to the higher version...
 
 I was about to attempt the same thing. My thinking was to grab the
 mysql src.rpm from Fedora Core 4 test 1 and rebuild it on FC3:
 
 rpmbuild --rebuild mysql...src.rpm

Hey, whaddayaknow, it worked! :-) I just rebuilt the FC4t1 mysql src.rpm on FC3.

It's just that i cannot try it, not today. I'll see if i can play with
it tomorrow. Ideally, i'd like to get a spare system, nuke all it's
content, do a fresh minimal install of FC3 (unselect all package
categories except development), apply all updates (yum update),
rebuild mysql-4, install it, then play with Perl and PHP and see if
they need to be rebuilt as well (hopefully not).

-- 
Florin Andrei

http://florin.myip.org/

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]