From owner-cvs-all Sun Nov 10 10:27:59 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 BB27637B401; Sun, 10 Nov 2002 10:27:57 -0800 (PST) Received: from baraca.united.net.ua (ns.united.net.ua [193.111.8.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id A508A43E42; Sun, 10 Nov 2002 10:27:56 -0800 (PST) (envelope-from max@vega.com) Received: from vega.vega.com (root@xDSL-2-2.united.net.ua [193.111.9.226]) by baraca.united.net.ua (8.12.6/8.11.6) with ESMTP id gAAIRjOE040349; Sun, 10 Nov 2002 20:27:49 +0200 (EET) (envelope-from max@vega.com) Received: from vega.vega.com (max@localhost.vega.com [127.0.0.1]) by vega.vega.com (8.12.6/8.12.5) with ESMTP id gAAIS2aJ016437; Sun, 10 Nov 2002 20:28:02 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: (from max@localhost) by vega.vega.com (8.12.6/8.12.5/Submit) id gAAIS0qM016436; Sun, 10 Nov 2002 20:28:00 +0200 (EET) Date: Sun, 10 Nov 2002 20:28:00 +0200 From: Maxim Sobolev To: Dirk Froemberg Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: ports/databases/mysql323-server/files patch-sql_mysqld.cc Message-ID: <20021110182800.GE14539@vega.vega.com> References: <200211101711.gAAHBxFp045658@repoman.freebsd.org> <20021110174208.GD14539@vega.vega.com> <20021110181441.GD14219@physik.TU-Berlin.DE> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20021110181441.GD14219@physik.TU-Berlin.DE> 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 07:14:41PM +0100, Dirk Froemberg wrote: > Hi Maxim! > > 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. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message