PHP + Multiple MySQL-4.0.20
| From: | Minuk Choi | Date: | Mon, 07 Jun 2004 06:43:59 +0000 |
| Subject: | PHP + Multiple MySQL-4.0.20 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-187771@lists.php.net to get a copy of this message | ||
I have a RedHat9 machine.
I needed to have multiple MySQL installations, so I removed the RPM
installation and did a binary installation of MySQL-4.0.20. As it stands, I
have the following installations
/usr/local/mysql-4.0.20-webpage
/usr/local/mysql-4.0.20-exp
/usr/local/mysql-4.0.20-def
These are all the same BINARY installations of MySQL-4.0.20, I just need to
have 3 distinct set of mysql databases(along with their specific custom
database/tables). It seems to have worked, as I can get the mysql instances
up and running.
BUT, I can't seem to make PHP access these databases. More specifically,
phpMyAdmin-2.5.6 says
cannot load MySQL extension,
please check PHP Configuration.
Documentation
I haven't a clue as to how to resolve this. My guess is, like the MySQL
RPM, uninstall it and do a non-RPM install...
If I get the source and run configure... it seems like the --with-mysql=
field only takes 1 mysql path. What should I do in my case, where there are
3 paths, 3 sockets, and 3 ports on which mysql resides?
Thanks in advance,
-Minuk