Two MySQL instances in one server
| From: | Mailing Lists) | Date: | Mon, 15 Oct 2007 20:21:53 +0000 |
| Subject: | Two MySQL instances in one server | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-263217@lists.php.net to get a copy of this message | ||
Hi all,
Would it be possible to have two MySQL instances running on one server
(each having different ports) and then have only one running Apache
server with PHP?
I have tried this once but PHP can only connect to one MySQL server
because it can only read one socket file at a time. As much as
possible, I would prefer a purely mod_php solution as opposed to one
that would have PHP running on CGI.
Thanks in advance,
Matt
--
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.