Hi, maybe you can consider another approach:
1) Edit the Makefile on /usr/ports/databases/mysql
$ cat Makefile | grep SOCKET_DIR
SOCKET_DIR= /var/www/mysql
2) Reinstall mysql and run.
3) $ ps aux | grep mysql
_mysql 12420 0.0 3.5 294488 71576 ?? S 5:00PM 0:00.72
/usr/local/libexec/mysqld --basedir=/usr/local --datadir=/var/mysql
--user=_mysql --pid-file=/var/mysql/namor.nodomain.nowhere.pid --port=3306
--socket=/var/www/mysql/mysql.sock
It should work as usual...
Regards,
Alvaro
2008/11/27 Gustavo Polillo <[EMAIL PROTECTED]>
> my system is ok but in every reboot I need to reconfigure the mysql socket:
>
> ln -f /var/run/mysql/mysql.sock /var/www/var/run/mysql/
>
> any tip?
>
> thanks, Gustavo Polillo.