Getting phpMyAdmin Working On Mac OS X Leopard

I already had MySQL installed and up and running on my Mac for developing Rails apps. I installed MySQL using MacPorts using the
following instructions.

I got phpMyAdmin working with these instructions. Make sure you do the following steps from the article just listed to be able to login to your MySQL database with phpMyAdmin

Open the file config.sample.inc.php and enter a random string to the following line, afterwards you should rename the file to config.inc.php.

$cfg['blowfish_secret'] = ”; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

Look for:

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

change it to:

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

Leave a Comment