Installing PhpMyAdmin

Installing PhpMyAdmin

It's too bad Sequel Pro is not available to Ubuntu. I didn't think SQuirreL SQL's GUI was usable but I've had ok experiences with PhpMyAdmin.

$ sudo -i

$ apt-get phpmyadmin

$ gedit /etc/apache2/apache2.conf

# Add this at the very last line then save your changes:
> Include /etc/phpmyadmin/apache.conf

# Enable the  php dependencies
$ gedit /opt/phpfarm/inst/php-[MAJOR-MINOR-PATCH]]/lib/php.ini

    # Enable these extensions:
        > extension="/usr/lib/php5/20121212/mysqli.so"
        > extension="/usr/lib/php5/20121212/mcrypt.so"

$ service apache2 restart