Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2012 17:18:48 -0800
From:      Paul Beard <paulbeard@gmail.com>
Cc:        FreeBSD-questions <questions@Freebsd.org>
Subject:   database apps that ignore sockets? [was: Solution: mysqld fails to run, can't create/find mysql.sock] 
Message-ID:  <1954AA20-BE6F-4F04-A770-49ECFA405B5D@gmail.com>
In-Reply-To: <7325D262-C6EB-42DB-870D-D3E2FAC9D0C1@mac.com>
References:  <0F82362E-2694-4EBC-B019-DE2F2C160D45@gmail.com> <7325D262-C6EB-42DB-870D-D3E2FAC9D0C1@mac.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

--Apple-Mail=_33839377-F65C-42B1-87D3-236E5F34AB84
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


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 =97 as it did.=20

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

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


--Apple-Mail=_33839377-F65C-42B1-87D3-236E5F34AB84--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?1954AA20-BE6F-4F04-A770-49ECFA405B5D>