I had pretty much the same problem.

I was unhappy with the RH v7.0 distro of MySQL and downloaded the MySQL
rpm's (v3.23.33).  It installed and ran with _no_ problems!  My problem was
the RH distro of php did not recognize that MySQL was there.  I decided to
upgrade to php 4.0.4.  I downloaded the rpms from RH, but when it came time
to install php-mysql, it said MySQL was not there.  I was very reluctant to
uninstall php and try to install and compile the tarball.

What I did instead is...           rpm -ivh php-my*.rpm --nodeps

This installed mysql-php without checking for dependencies.  After a reboot,
I can connect to MySQL databases with php.

Ken Nordquist
"Did I Do That?"

----- Original Message -----
From: "Pope, Alan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 22, 2001 2:25 PM
Subject: Problem installing MySQL & php


> Hi all,
>
> Newbie alert, please be gentle.
>
> My system is Redhat 7.0 with glibc-2.2-12, kernel 2.2.16-22.
>
> I have started a project which involves learning php & mysql, so I bought
> myself a couple of big books to sit down and do some learning!
>
> Problem is, I cannot get MySQL & php installed together nicely... let me
> explain.
>
> I currently have php-4.0.1pl2-9, mod-php-4.0.1pl2-9, and would like to
> install mysql and php-mysql-4.0.1pl2-9 to go with it. However, I have two
> versions of  mysql neither of which will install properly.
>
> Problem 1 with mysql-3.23.32 (obtained from updates.redhat.com)
>
> rpm -i mysql-3.23.32.1.7.i386.rpm
>
> I get a whole load of error messages from ldconfig complaining that
> "/sbin/ldconfig: /usr/local/lib/xxxxxxx.so is not a symbolic link" - I get
> about 40 of these. It's right - they aren't, they are files. The mysql
> install stops at that point.. sorta half installed. I can deinstall with
rpm
> -e (also getting the same ldconfig error, but I actually want to install
it!
> What do I do?
>
> Problem 2 with MySQL-3.23.33 (note the case of MySQL) (obtained from
> mysql.com)
>
> rpm -i MySQL-3.23.33-1.i386.rpm
>
> All seems to go okay - no problems. However, when I try to install the
> php-mysql package it complains that "mysql is not installed" (it's a
> pre-req). The stupid thing is, it IS installed although when I look with
rpm
> -q, I find the package called "MySQL", not "mysql".. What do I do here? I
> thought renaming the rpm might do it, but sorta knew it wouldn't - and it
> didn't work...
>
> Please, I need help.
>
> Cheers,
> Al.
> http://www.popey.com/
>
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to