1

I have a slave server that is not heavily loaded. I also have some mitigating circumstance that prevent me from being allowed to replace MySQL with Percona.

My dilemma is that Percona is a 'drop in replacement' for MySQL -- installing Percona 'takes over' the command 'mysql', for example.

After searching online for quite a while (perhaps using the wrong keywords), I have not been able to find a way to install or compile Percona & MySQL so that they both run on the same server (different ports, maybe?).

Is this possible? Are there doc.s, links, etc. that I should read (RTM)?

Of note: this is on a Linux box (openSUSE)

4

3 回答 3

1

如果您不打算使用 MySQL Sandbox,请参阅此清单以在 Linux 机器上安装多个 MySQL 服务器

简而言之,您必须分开的事情是:

  • 配置文件
  • 端口号
  • 套接字文件
  • 数据目录
  • 守护进程

当然,您不能只从包管理软件安装两者,因为它们会相互覆盖。至少必须从二进制安装一个(否则您需要进行大量调整)。

于 2012-07-22T16:03:39.030 回答
1

我认为如果您有不同的安装目录、服务名称和端口,那么一起运行它们应该没有问题。

于 2012-07-22T15:23:39.970 回答
0

我不清楚为什么要在同一台机器上运行两台服务器,但是有一些工具可以帮助您进行设置。如果这是您想要做的,我建议您研究MySQL Sandbox 。它们在不同的端口上运行,并具有不同的数据目录和配置文件。

于 2012-07-22T15:24:06.490 回答