Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jan 2012 08:17:58 -0800
From:      Chuck Swiger <>
To:        Paul Beard <>
Cc:        FreeBSD-questions <>
Subject:   Re: database apps that ignore sockets? [was: Solution: mysqld fails to run, can't create/find mysql.sock]
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Jan 14, 2012, at 5:18 PM, Paul Beard wrote:
> 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

Something looking for a network location specified as a host and port =
(ie, localhost:3306) is using a TCP socket.  Something looking for =
/tmp/mysqld.sock is using a UNIX domain socket.

Changing the path to the UNIX domain socket will have no effect upon the =
port used by the TCP socket, or vice versa.


Want to link to this message? Use this URL: <>