Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 May 2005 18:01:57 -0400
From:      "Joe Wood" <dot.sn1tch@gmail.com>
To:        "'Matt Virus'" <mattvirus@navix.net>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: Mysql vs /var partition...
Message-ID:  <42964652.4b8d3f70.6c17.ffffe9bc@mx.gmail.com>
In-Reply-To: <429604F3.1050806@navix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org] 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 "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42964652.4b8d3f70.6c17.ffffe9bc>