Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 2000 10:00:11 -0800 (PST)
From:      "Louis A. Mamakos" <louie@TransSys.COM>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/23266: mysql323-server port broken - can't create /var/run/mysql.sock 
Message-ID:  <200012041800.eB4I0Bs56077@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/23266; it has been noted by GNATS.

From: "Louis A. Mamakos" <louie@TransSys.COM>
To: Vivek Khera <khera@kciLink.com>
Cc: FreeBSD-gnats-submit@freebsd.org, dirk@freebsd.org
Subject: Re: ports/23266: mysql323-server port broken - can't create /var/run/mysql.sock 
Date: Mon, 04 Dec 2000 12:52:43 -0500

 > >>>>> "LM" == Louis Mamakos <louie@TransSys.COM> writes:
 > 
 > 
 > LM> If mysqld is started as user 'mysql', it doesn't have permissions to
 > LM> create a socket in /var/run.  According to /etc/mtree/BSD.var.dist,
 > LM> /var/run has mode 0755 and is owned by root.
 > 
 > It seems to me a more sane location for mysql.sock is /var/db/mysql,
 > but then that needs to be globally readable.  I don't think that's
 > such a big deal to do, though, and is how I set it up on my systems.
 
 That sounds reasonable; the directories for the various databases
 can still be mode 0700.  To eliminate the potential problem of exposing
 what databases exist, /var/db/mysql can be mode 0711.
 
 louie
 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012041800.eB4I0Bs56077>