I'm not entirely sure if this was mentioned already but it's worth a look.
Usually as a rule of thumb, as soon as I complete an installation of mysql I
do the following...note that mysql is indeed running during this procedure:

cd /var/db
mv mysql /usr/local/
ln -s /usr/local/mysql mysql

Then I changed the permissions.

cd /usr/local
chown -R mysql mysql

And then restarted mysqld.

/usr/local/etc/rc.d/mysql.sh restart

Hope this helps
Joe

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matt Virus
Sent: Thursday, May 26, 2005 1:19 PM
To: freebsd
Subject: Mysql vs /var partition...

Hi All:

My mysql database is growing, it has subsequently filled the /var/db 
partition to capacity.

I tried moving the mysql dir and symlinking it to /var/db/mysql which 
didn't work.  I also tried mount_null from the /usr partition to the 
/var/db/mysql folder...in both instances, the mysql server will not start.

Is there another way around this problem or do i need to somehow resize 
my /var partition?


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to