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

/usr/local/zend/var/apps/http/__default__/0/phpmyadmin/3.5.6.0/config.inc.php

and change

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

with

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

that’s it.

0 thoughts on “Zend Server 6 and phpMyAdmin on OSX

  1. Grazie mille per il tuo articolo, ogni volta che Zend rilascia una versione nuova del server (almeno per OsX) si dimentica qualcosa… E’ davvero frustrante!
    Tanto per curiosità, se volessi impostare la password su mysql come bisognerebbe muoversi? Con il classico mysql_secure_installation?