Installing and setting up phpMyAdmin

This is unusually straightforward for open source software. From Unix command line:

  1. wget phpMyAdmin-3.3.9-english.tar.gz (or use curl instead of wget)
  2. tar -xvzf phpMyAdmin-3.3.9-english.tar.gz
    (on the webserver)
  3. ln -s phpMyAdmin-3.3.9-english phpMyAdmin
    (so you can access the better-named ‘phpMyAdmin’ and have it point to whichever the latest version is)
  4. mkdir config
  5. chmod o+rw config
  6. cp config.sample.inc.php config/config.inc.php
  7. chmod o+w config/config.inc.php
  8. In a web browser go to yourhostname/setup, e.g. http://localhost/phpMyAdmin/setup/
  9.  

This entry was posted in mySQL, PHP, Unix. Bookmark the permalink.

Leave a comment