MySQL on FreeBSD

It’s easy to install MySQL 5.1.x on FreeBSD 6.2 if you follow these instructions:

cd /usr/ports/databases/mysql51-server
make install clean
mysql_install_db
chown -R mysql:mysql /var/db/mysql/
/usr/local/bin/mysqld_safe -user=mysql &
mysqladmin -u root password <password>

And then, optionally:

echo 'mysql_enable="YES"' >> /etc/rc.conf
cp /usr/local/share/mysql/my-medium.cnf /var/db/mysql/my.cnf

Why FreeBSD, you may ask… Well, for one, it’s got more smileys than Linux or Windows in this comparison table. For another, the fonts on X — with Xfce 4.4 and X.org X11R6.9 server — are rendered much more legibly on FreeBSD than on Linux. For more opinionated reasons, read this piece and also this article...

Comment

Commenting is closed for this article.