Skip navigation.

Syndicate

Syndicate content

User login

phpmyadmin

Getting MySQL 5 and phpMyAdmin running on FreeBSD 6.0 amd64

I’m going to use MySQL 5 on aenea, so I thought this would be a good time to try out phpMyAdmin, to see what all the fuss is about.

First, I’ve installed and got working both Apache 2 and PHP 5, both via their respective ports.

I next installed MySQL 5 server and phpMyAdmin via their ports. I enabled MySQL by adding mysql_enable="YES" to /etc/rc.conf. I started it with /usr/local/etc/rc.d/mysql-server.sh start.

To get phpMyAdmin started, I added an alias to the /usr/local/www/phpMyAdmin folder created by the port, so requests for /phpmyadmin would resolve there. To do that was a trivial task for Alias in /usr/local/etc/apache2/httpd.conf:

Syndicate content