From owner-cvs-all Sun Nov 10 11: 4:40 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBEBD37B434; Sun, 10 Nov 2002 11:04:36 -0800 (PST) Received: from emmi.physik.TU-Berlin.DE (emmi.physik.TU-Berlin.DE [130.149.160.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A1B243E6E; Sun, 10 Nov 2002 11:04:36 -0800 (PST) (envelope-from ibex@emmi.physik.TU-Berlin.DE) Received: from emmi.physik.TU-Berlin.DE (localhost.physik.TU-Berlin.DE [127.0.0.1]) by emmi.physik.TU-Berlin.DE (8.12.6/8.11.6) with ESMTP id gAAJ4Yel018941; Sun, 10 Nov 2002 20:04:35 +0100 (CET) (envelope-from ibex@emmi.physik.TU-Berlin.DE) Received: (from ibex@localhost) by emmi.physik.TU-Berlin.DE (8.12.6/8.12.3/Submit) id gAAJ4YeG018940; Sun, 10 Nov 2002 20:04:34 +0100 (CET) Date: Sun, 10 Nov 2002 20:04:34 +0100 From: Dirk Froemberg To: Maxim Sobolev Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: ports/databases/mysql323-server/files patch-sql_mysqld.cc Message-ID: <20021110190434.GE14219@physik.TU-Berlin.DE> References: <200211101711.gAAHBxFp045658@repoman.freebsd.org> <20021110174208.GD14539@vega.vega.com> <20021110181441.GD14219@physik.TU-Berlin.DE> <20021110182800.GE14539@vega.vega.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021110182800.GE14539@vega.vega.com> User-Agent: Mutt/1.4i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Nov 10, 2002 at 08:28:00PM +0200, Maxim Sobolev wrote: > On Sun, Nov 10, 2002 at 07:14:41PM +0100, Dirk Froemberg wrote: > > On Sun, Nov 10, 2002 at 07:42:08PM +0200, Maxim Sobolev wrote: > > > On Sun, Nov 10, 2002 at 09:11:59AM -0800, Dirk Froemberg wrote: > > > > dirk 2002/11/10 09:11:59 PST > > > > > > > > Added files: > > > > databases/mysql323-server/files patch-sql_mysqld.cc > > > > Log: > > > > Fix build on 5.0-CURRENT. > > > > > > > > Submitted by: sobomax > > > > > > Thanks! What about my startup script changes? > > > > I'm currently working on it... > > > > I don't like the pid file to have a fixed name (i. e. mysql.pid). > > Could be a problem if multiple mysqld on different machines use the > > same datadir. So `hostname`.pid seems to be better. > > MySQL documentation clearly says that sharing one datadir between > multiple severs running on the same or different machines is highly > not recommended. Therefore, I don't think that it is going to be a > problem. At the same time, hostname is not something set in stone, > therefore IMO `hostname`.pid could be less reliable. Maybe it's not recommended... Anyway, it was `hostname`.pid and it will be `hostname`.pid 8-) Anything else would confuse users and other scripts. Regards Dirk -- Dirk Froemberg FreeBSD: The Power to Serve! http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message