PHP web application can't connect mysql installed with Zend Server CE on Mac OSX

Posted by Kane on Super User See other posts from Super User or by Kane
Published on 2012-03-25T06:15:04Z Indexed on 2012/03/25 11:33 UTC
Read the original article Hit count: 250

Filed under:
|
|

I'm setting up development environment on Mac OSX.

However the PHP web application can't connect the mysql server installed with Zend Server CE.

The error information is below,

[Type] dbnot_connect
[2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 61

Mysql database can be accessed via phpAdmin installed with Zend Server CE as well.

The same code works well on Windows or Linux in Zend Server CE.

© Super User or respective owner

Related posts about php

Related posts about mysql