Category:Technology -> Adventures with the naked Mac Mini Server -> phpMyAdmin-Lion | ARTS & FARCES internet wiki

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/Data/Sites/Default/.
  3. Open a terminal session and enter cd /Libary/Server/Data/Sites/Default.
  4. Enter sudo chown -R root phpMyAdmin.
  5. Enter sudo chgrp -R admin 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 as follows:
  12. Change $cfg[‘Servers’][$i][‘host’] = ‘localhost’; to $cfg[‘Servers’][$i][‘host’] = ‘127.0.0.1’;.
  13. Change $cfg[‘blowfish_secret’] = ‘’; to a string of your choice within the single quotes.
  14. Save the config.inc.php file.
  15. Open a browser and navigate to http://server.domain.com/phpMyAdmin/setup and adjust the settings appropriately.
  16. Open a terminal session and enter sudo rm -rf /Libary/Server/Data/Sites/Default/phpMyAdmin/config.

Categories:

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