From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JhXKs-0006RZ-5c for garchives@archives.gentoo.org; Thu, 03 Apr 2008 21:51:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 329E8E08E8; Thu, 3 Apr 2008 21:51:05 +0000 (UTC) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.187]) by pigeon.gentoo.org (Postfix) with ESMTP id F2626E08E8 for ; Thu, 3 Apr 2008 21:51:04 +0000 (UTC) Received: by rv-out-0910.google.com with SMTP id b22so1851107rvf.46 for ; Thu, 03 Apr 2008 14:51:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=BorepHtDuNuHLUS9FKLEqbvYYJrldDAJt0NDDqRC9m0=; b=VL8f3GeJfCwCpOnnDiHZ1z2vXSn49Sibs1m8zJap8AprZ+gIOS5Wk1duTa67qbMsQkXdaJXtEUus8ynZflNvPh/1MHwlpTXkksSsncvHMhEPFZ2A99cb7PzbkpwtA1SroTljr/dxIUK7Yi9vQl32ir6XHHHTV05UeBQyE7VmCy4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MfEuP9Istn/Rcjnb2B+BVhvTfQ95nSt4x1rI6S0JmCOvl3ABaz0nGGQl2VyuiRCats2aZgH3xKnccYjozJvuXfXXi7vml6jKBwTGeDoLWDE0e+uVRtl9LAt2knHp4/WYKjBZYMENoChpHwkROra78vFqZJxaAAG6Olcs/zxWxew= Received: by 10.141.132.8 with SMTP id j8mr263396rvn.167.1207259464557; Thu, 03 Apr 2008 14:51:04 -0700 (PDT) Received: by 10.141.40.5 with HTTP; Thu, 3 Apr 2008 14:51:04 -0700 (PDT) Message-ID: <342e1090804031451h4c6029an10593f1eab140a8e@mail.gmail.com> Date: Thu, 3 Apr 2008 18:51:04 -0300 From: "Daniel da Veiga" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Two instances of MySQL Database Server In-Reply-To: <47F549B1.3020209@badapple.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6b16fb4c0804010556p655bf8ddv5bacba52629faa99@mail.gmail.com> <47F2917E.7030608@j-schmitz.net> <342e1090804031339v5666a78evb16cef27d8c5eaec@mail.gmail.com> <47F549B1.3020209@badapple.net> X-Archives-Salt: 6368ef0d-0f37-4639-ba33-b80fc1f7f850 X-Archives-Hash: c700f0930d01febd0f7321c848b51b7e On Thu, Apr 3, 2008 at 6:18 PM, kashani wrote: > Daniel da Veiga wrote: > > > I don't understand why use a chroot to simply run another instance of > > MySQL. Is there any good reason? > > All you gotta do is create a new configuration file that points to a > > different database location and uses a different port, and clone and > > edit another /etc/init.d/mysql script to point to the new config file. > > > > A chroot would be just a waste of space, since you can use the same > > binary for multiple instances. > > > > About the only reason to run multiple instances is testing different > versions hence the chroot. > The OP asked about different instances, not versions. Isn't MySQL slotted, so you can run different major versions (4 and 5, for example) at the same time? -- Daniel da Veiga -- gentoo-user@lists.gentoo.org mailing list