From: kashani <kashani-list@badapple.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Two instances of MySQL Database Server
Date: Thu, 03 Apr 2008 17:06:04 -0700 [thread overview]
Message-ID: <47F570EC.5020308@badapple.net> (raw)
In-Reply-To: <342e1090804031451h4c6029an10593f1eab140a8e@mail.gmail.com>
Daniel da Veiga wrote:
> On Thu, Apr 3, 2008 at 6:18 PM, kashani <kashani-list@badapple.net> 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.
true, but again one of the few rational reasons to do this is to test
multiple versions. Otherwise it's an efficient way to split your system
resources in half. The OP could look at /etc/init.d/mysqlmanager which
seems to support the idea of instances, but I'm not sure it would be
useful outside running the same binary on a different port.
> Isn't MySQL slotted, so you can run different major versions (4 and 5,
> for example) at the same time?
>
Not slotted in any meaningful within the system. You have to chroot.
There was an attempt to do it within Gentoo a few years back, but it
overly complicated for the average user and poorly implemented.
kashani
--
gentoo-user@lists.gentoo.org mailing list
prev parent reply other threads:[~2008-04-04 0:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-01 12:56 [gentoo-user] Two instances of MySQL Database Server Kaushal Shriyan
2008-04-01 19:48 ` Johann Schmitz
2008-04-03 20:39 ` Daniel da Veiga
2008-04-03 21:18 ` kashani
2008-04-03 21:51 ` Daniel da Veiga
2008-04-04 0:06 ` kashani [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47F570EC.5020308@badapple.net \
--to=kashani-list@badapple.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox