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 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/
  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 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.