increasing mount size

David Kirchner dpk at dpk.net
Thu Oct 27 15:22:46 PDT 2005


On 10/27/05, eoghan <freebsd at redry.net> wrote:
> oops! typo... sorry... output:
> nathaniel# du -s /var/*
> 2       /var/account
> 6       /var/at
> 8       /var/backups
> 4       /var/crash
> 4       /var/cron
> 71010   /var/db

This is probably because the port uses /var/db/mysql as the database
directory (not sure why since /var is pretty tiny). An easy "fix" is:

mysqladmin shutdown
mkdir /usr/local
mv /var/db/mysql /usr/local/
ln -s /usr/local/mysql /var/db/mysql

then start mysqld however it is you do that (mysql-server.sh start maybe?)


More information about the freebsd-questions mailing list