2009年4月27日星期一

Re: [fw-db] Two MySQL database processes on ports 3306 and 3307

Am Montag 27 April 2009 schrieb rhodium:

> Is it possible to connect to the two separate database processes on the
> same machine using Zend Framework. Apparently the port number is being
> ignored when using Zend_Db and PDO.

This is an issue of the mysql php driver.
It overrides all port settings if you use the string "localhost" as server
name. If you want to use another port, then you have to use the
ip address "127.0.0.1" as host name.


--
MfG, Christian Welzel

GPG-Key: http://www.camlann.de/key.asc
Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15

没有评论: