Category:Technology -> Adventures with the naked Mac Mini Server -> phpMyAdmin-Lion

Category:Technology -> Adventures with the naked Mac Mini Server -> Install phpMyAdmin on Lion

Install phpMyAdmin

Use these steps to install phpMyAdmin:

  1. Download the most recent version of phpMyAdmin
  2. Move the phpMyAdmin directory to /Library/Server/Web/Data/Sites/Default/
  3. Open a terminal session and enter cd /Libary/Server/Web/Data/Sites/Default
  4. Enter sudo chown -R _www phpMyAdmin
  5. Enter sudo chgrp -R _www phpMyAdmin
  6. Enter sudo chmod -R 755 phpMyAdmin
  7. Enter cd phpMyAdmin
  8. Enter sudo mkdir config
  9. Enter sudo chmod -R 777 config
  10. Enter sudo cp config.sample.inc.php config.inc.php
  11. 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
  12. Open a browser and navigate to http://server.domain.com/phpMyAdmin/setup and adjust the settings appropriately
  13. 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

Categories:

Copyright © 1993–2013 ARTS & FARCES LLC.
All rights reserved.