Category:Technology -> Adventures with the naked Mac Mini Server -> Install phpMyAdmin on Lion
Install phpMyAdmin
Use these steps to install phpMyAdmin:
- Download the most recent version of phpMyAdmin
- Move the phpMyAdmin directory to /Library/Server/Web/Data/Sites/Default/
- Open a terminal session and enter cd /Libary/Server/Web/Data/Sites/Default
- Enter sudo chown -R _www phpMyAdmin
- Enter sudo chgrp -R _www phpMyAdmin
- Enter sudo chmod -R 755 phpMyAdmin
- Enter cd phpMyAdmin
- Enter sudo mkdir config
- Enter sudo chmod -R 777 config
- Enter sudo cp config.sample.inc.php config.inc.php
- With your text editor of choice, edit the config.inc.php file as follows:
- Change $cfg[‘Servers’][$i][‘host’] = ‘localhost’; to $cfg[‘Servers’][$i][‘host’] = ‘127.0.0.1’;
- Change $cfg[‘blowfish_secret’] = ‘’; to a string of your choice within the single quotes
- Save the config.inc.php file
- Open a browser and navigate to http://server.domain.com/phpMyAdmin/setup and adjust the settings appropriately
- Open a terminal session and enter sudo rm -rf /Libary/Server/Data/Sites/Default/phpMyAdmin/config
Articles in category "Technology -> Adventures with the naked Mac Mini Server -> phpMyAdmin-Lion":
There is 1 article for this category
