lifehack php

Zend Server 6 and phpMyAdmin on OSX

I would never imagined to write a post on OSX, moreover in english, but time changes everything.

After I installed the new version of Zend Server 6 I had some issue with phpMyAdmin. A laconic

#2002 - Connection refused
The server is not responding (or the local server's socket is not correctly configured).

is shown up on chrome with no mercy.

The fix is quite easy as it subtle, open


and change

$cfg['Servers'][$i]['host'] = '';


$cfg['Servers'][$i]['host'] = 'localhost';

that’s it.