Configuring OpenSolaris: Webstack phpMyAdmin

Getting phpMyAdmin running is deceptively simple, unless like me, your utterly clueless and expect it to “just work”.

  1. Change your MySQL ROOT password!
    $ /usr/mysql/5.1/bin/mysqladmin -u root password {{'NewPassword'}}
    $ mysql -u root -p
  2. Install phpMyAdmin
    $ pfexec pkg set-authority -O http://pkg.opensolaris.org/webstack Webstack
    $ pfexec pkg refresh
    $ pfexec pkg install pkg://webstack/phpmyadmin
    $ man phpmyadmin
    $ /usr/bin/phpmyadmin_evaluation_init

Final Configuration of phpMyAdmin:

  1. As root:
    # vi /etc/phpmyadmin/config.inc.php
    /blowfish_secret
  2. In the empty ‘ ‘ after the = type any random string under 46 chars. Doesn’t matter what (AFAIK) and you won’t be asked again (AFAIK).
  3. :wq

Point your webbrowser at http://127.0.0.1/phpmyadmin/ and you should be ready to rock & roll. If you have any trouble go back to the origianl Maintainer’s Blogpost and also read the MAN pages more carefully.

You should also familiarize yourself with Sun’s: Web Stack Getting Started Guide

Good Luck!

This entry was posted in 2009.06, OpenSolaris and tagged , , , . Bookmark the permalink.