简体   繁体   English

MySQL的并行安装

[英]Side by side installations of MySQL

We're currently running MySQL 5.0.36sp1, and I'd like to evaluate whether we would get any kind of performance gain in running a more recent version. 我们当前正在运行MySQL 5.0.36sp1,我想评估一下运行较新版本是否会获得某种形式的性能提升。 Can I safely install a newer version and run it on a different port without affecting my existing instance? 我可以安全地安装较新版本并在不影响现有实例的情况下在其他端口上运行吗?

Ideally, I'd be able to turn on one instance at a time, and run the same tests on each instance. 理想情况下,我能够一次打开一个实例,并对每个实例运行相同的测试。

Yes it is possible. 对的,这是可能的。 Although deprecated by 5.1, this 尽管5.1版弃用了此

http://dev.mysql.com/doc/refman/5.0/en/instance-manager.html http://dev.mysql.com/doc/refman/5.0/en/instance-manager.html

might be the easiest solution to what you are looking for. 可能是您要寻找的最简单的解决方案。

You'd have to give it a different: 您必须给它一个不同的:

  • port 港口
  • socket 插座
  • pidfile pid文件
  • datadir 数据目录

But that's about it. 就是这样。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM