Topic: hi all. new to PunBB. question about MySQL socket
so this is probably more of a sysadmin-type question than a PunBB question, so don't feel bad telling me to go pound sand if this is inappropriate for here.
environment: OpenBSD 4.0/apache (default chrooted)/php4/mysql 5.0.22/latest punbb. everything works absolutely beautifully---thanks writing some great software!
i'm thinking about moving my /var/www directory to it's own slice of the disk. mysql is only listening on the loopback, and i use a socket for mysql, and hard link /var/run/mysql/mysql.sock to /var/www/var/run/mysql/mysql.sock so it'll be in the chroot.
so as it is now, /var/run and /var/www are on the same slice, and hard links are OK, but if i decide to move to a separate /var/www, hard links are no longer allowed across filesystems like that.
considering i don't use mysql for anything by punbb now (that *might* change in the future), is it sane for me to change the location of the socket in /etc/my.cnf to /var/www/run/mysql/mysql.sock ? that way i don't have to worry about links.
is there an easier solution i'm simply over looking?
thanks,
--john