Installing MySQL Server with port number other than 3306 is failing
Posted by: Sailaja N
Date: August 19, 2019 07:20AM

Hi,

We are installing MySQL Server from command line.
We already have MySQL Server 8 installed and is working
We are trying to install MySQL Server 5.7.27 using command line with following command:
"C:\Program Files (x86)\MySQL\MySQL Installer for Windows\MySQLInstallerConsole.exe" community install server;5.7.22;X64:*:servertype=Server;servicename=MySql57;port=3307;datadir="D:\MySQL\data";passwd=paservice -silent

Even when we mention the port as 3307 in the command(given above), it is still installing server with 3306. We checked this in ini file. Also the log shows the following error and Server is not starting:

[ERROR] Can't start server: Bind on TCP/IP port: No such file or directory
2019-08-19T13:01:32.571676Z 0 [ERROR] Do you already have another mysqld server running on port: 3306 ?
2019-08-19T13:01:32.572762Z 0 [ERROR] Aborting

Note: If MySQL Server 8 is not running, then MySQL Server 5.7 is installing successfully but with port 3306 and not with 3307. But installation is success.
In case MySQL Server 8 is running, the installation is failed.

Please let me know if any other details are required.

Your help in resolving the issue is greatly appreciated.

Options: ReplyQuote


Subject
Views
Written By
Posted
Installing MySQL Server with port number other than 3306 is failing
7519
August 19, 2019 07:20AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.