|
Posted by J.O. Aho on 10/13/21 11:41
trihanhcie@gmail.com wrote:
> Hi
>
> Thanks for the help.
>
> I have a lot of problems...
>
> First, I'd like to ask several things
>
> I installed MySQL-server-5.0.18-0 (it's in the list when I write the
> command rpm -qa | grep -i mysql) and MySQL-client-5.0.18-0
>
>
> I restart httpd and mysql but it still doesn't work. How do I know?
> well i try to launch mysql prompt and it doesn't work...
>
> If i try to install the package MySQL-devel-5.0.18-0, i need openssl
> and if i try to install openssl, i need :
> krb5-devel is needed by openssl-devel-0.9.8a-5.2
> openssl = 0.9.8a-5.2 is needed by openssl-devel-0.9.8a-5.2
> zlib-devel is needed by openssl-devel-0.9.8a-5.2
>
> Do i have to go on with the installation or I made a mistake?
>
> Please help it's quite urgent !!
RPM works with dependency checks to keep the system from breaking, you will
need to install packages of the specified version, to keep things working.
I see you went with installing MySQL instead of mysql, you will run into more
problems that way as you will have more trouble to fulfill the dependency.
1. Even if you will get MySQL to work on FC3, it won't work with your
installed PHP.
2. MySQL don't provide RedHat init-scripts, so you need to start the server
manually.
3. MySQL is most likely compiled with gcc 3.3.X or older version, which isn't
compatible with the ABI of newer gcc like 3.4.4 that FC3 uses. (this could
explain why it don't start at all)
IMHO you have made the mistake to install MySQL, you should use the mysql
packages provided by RedHat and you will need to upgrade your PHP and Apache
to versions that are made to work with mySQL5.
Another option is to download the SRPMs for mysql and FC3's php, and then
rebuild them
rpmbuild --rebuild mysql-5.0.18-2.1.src.rpm
< install the new RPMs from /usr/src/redhat/i386 >
rpmbuild --rebuild php-4.3.11-2.8.src.rpm
< --force install the new RPMs from /usr/src/redhat/i386 >
//Aho
[Back to original message]
|