You are here: Re: MySQL Upgrade error - Conflicts « PHP SQL « IT news, forums, messages
Re: MySQL Upgrade error - Conflicts

Posted by J.O. Aho on 10/13/36 11:41

trihanhcie@gmail.com wrote:
> Oh another thing... If I install Apache and php again, is it going to
> keep my old config file?

Your old config files won't be deleted, if your current configuration is
compatible with the new version of the program you install, then the new
configuration files gets the rpmnew

eg: /etc/httpd/conf/httpd.conf.rpmnew

If your old configuration file would not be compatible with the new one, then
it gets rpmsave extention

eg: /etc/httpd/conf/httpd.conf.rpmsave

So it will always be easy to find the config files if you happen to notice
that an application don't use the settings you did set.


> If I understood you correctly, I have to
> 1) rpm -Uvh mysql-server-5.0.18-2.1.i386.rpm
> 2) rpm -Uvh mysql-5.0.18-2.1.src
> and so on
>
> However, with mysql-5.0.18-2.1.src, i already miss the following file :
>
> libc.so.6(GLIBC_2.3.4) is needed by mysql-5.0.18-2.1
> libc.so.6(GLIBC_2.4) is needed by mysql-5.0.18-2.1
> libcrypto.so.6 is needed by mysql-5.0.18-2.1
> libssl.so.6 is needed by mysql-5.0.18-2.1
> libstdc++.so.6 is needed by mysql-5.0.18-2.1
> libstdc++.so.6(CXXABI_1.3) is needed by mysql-5.0.18-2.1

libc.so.6 is part of glibc package
libstdc++ is part of gcc package
libssl.so.6 and libcrypto.so.6 are part of openssl package

You have two options here, install the required RPMs, which would be an
experimental glibc 2.3.999, gcc 4.1.0 and openssl-0.9.8a-5.2.

As there aren't any hard dependency problems here, I think it's better to
recompile/rebuild mysql, this way you won't be forced to update other packages.

eg: rpmbuild --rebuild mysql-5.0.18-2.1.src.rpm

Note that you need the RPM that has the "src" instead of "i386", you will need
to have some devel packages installed too.

As you anyway have to recompile PHP, you can upgrade to PHP5 too

rpmbuild --rebuild php-5.1.2-5.src.rpm

This way you get FC3 native RPMs which makes things a lot more stable, trust
me on this, I have experience of trying to keep a system up and working that
was RH7.3 in the base with RH9 and FC1 packages.


//Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация