database apps that ignore sockets? [was: Solution: mysqld fails to run, can't create/find mysql.sock]

Paul Beard paulbeard at
Sun Jan 15 01:18:55 UTC 2012

On Jan 14, 2012, at 11:15 AM, Chuck Swiger wrote:

> Anyway, doesn't the mysql port want to keep the socket under /var/run/mysql/mysqld.sock or some such, to avoid issues with /tmp?

Turns out some applications won't work if you move the socket if they are configured to access localhost. Seems like a misunderstanding of networking if you can specify a port number in a configuration file but the application looks to the filesystem for the socket. There is no way to specify a file location so it seems doomed to fail — as it did. 

The apps in question are net-mgmt/cacti and net-mgmt/cacti-spine. 
Paul Beard

Are you trying to win an argument or solve a problem? 

More information about the freebsd-questions mailing list