我可以在windows 7上运行不同版本的mysql吗

时间:2022-07-18 22:47:44

I have windows 7 machine with 8GP RAM. Can I run mysql version 4 and 5.5.21 at the same time. If it is possible, please guide me.
Thanks in advance.

我有一台装有8GP RAM的windows 7机器。我可以同时运行mysql version 4和5.5.5.21吗?如果可能的话,请指导我。提前谢谢。

3 个解决方案

#1


3  

Yes you can. But you will have to specify 2 different ports for running 2 different MySql Server Instances. Default Port, i guess, for Mysql is 3306.

是的,你可以。但是您必须为运行两个不同的MySql服务器实例指定两个不同的端口。我猜Mysql的默认端口是3306。

#2


0  

You can run multiple servers on Windows by starting them manually from the command line, each with appropriate operating parameters, or by installing several servers as Windows services and running them that way.

您可以在Windows上运行多个服务器,方法是从命令行手动启动它们,每个服务器都具有适当的操作参数,或者将几个服务器安装为Windows服务并以这种方式运行它们。

continue reading here:

继续阅读:

https://dev.mysql.com/doc/refman/5.5/en/multiple-windows-servers.html

https://dev.mysql.com/doc/refman/5.5/en/multiple-windows-servers.html

#3


0  

The whole idea behind this is to compile the new MySQL server with different TCP/IP ports and Unix socket files so that each one is listening on different network interfaces. Compiling in different base directories for each installation also results in separate compiled-in data directory, log file, and PID file location for each server.

这背后的整个想法是使用不同的TCP/IP端口和Unix套接字文件编译新的MySQL服务器,以便每个服务器都在监听不同的网络接口。在每个安装的不同基目录中编译,也会导致每个服务器的不同编译数据目录、日志文件和PID文件位置。

Refer this link also.

请参考这个链接。

How to install two different versions of MySQL server on the same PC

如何在同一台PC上安装两个不同版本的MySQL服务器

#1


3  

Yes you can. But you will have to specify 2 different ports for running 2 different MySql Server Instances. Default Port, i guess, for Mysql is 3306.

是的,你可以。但是您必须为运行两个不同的MySql服务器实例指定两个不同的端口。我猜Mysql的默认端口是3306。

#2


0  

You can run multiple servers on Windows by starting them manually from the command line, each with appropriate operating parameters, or by installing several servers as Windows services and running them that way.

您可以在Windows上运行多个服务器,方法是从命令行手动启动它们,每个服务器都具有适当的操作参数,或者将几个服务器安装为Windows服务并以这种方式运行它们。

continue reading here:

继续阅读:

https://dev.mysql.com/doc/refman/5.5/en/multiple-windows-servers.html

https://dev.mysql.com/doc/refman/5.5/en/multiple-windows-servers.html

#3


0  

The whole idea behind this is to compile the new MySQL server with different TCP/IP ports and Unix socket files so that each one is listening on different network interfaces. Compiling in different base directories for each installation also results in separate compiled-in data directory, log file, and PID file location for each server.

这背后的整个想法是使用不同的TCP/IP端口和Unix套接字文件编译新的MySQL服务器,以便每个服务器都在监听不同的网络接口。在每个安装的不同基目录中编译,也会导致每个服务器的不同编译数据目录、日志文件和PID文件位置。

Refer this link also.

请参考这个链接。

How to install two different versions of MySQL server on the same PC

如何在同一台PC上安装两个不同版本的MySQL服务器