MySQL service installation
Posted by: Jean-Philippe Prade
Date: November 18, 2020 04:07PM


I am installing mysql like this :

"C:\Program Files (x86)\MySQL\MySQL Installer for Windows\MySQLInstallerConsole.exe" community install -silent server;5.7.32;x64:*:port=3306;passwd=root;installdir="C:\Program Files\MySQL\MySQL Server 5.7.32"

It does severals things that I don't want :

It creates a my.ini inside C:\ProgramData\MySQL\MySQL Server 5.7

It creates a service named MYSQL57

I want to create the service myself with another name and defaults-file (mysqls install ...).

It is possible to tell the installer to not create the service ?

The only solution I found is to do a "sc delete MYSQL57" right after installtion.

But I am afraid to because it is possible that there is already an older 5.7.X version running and I dont want to break it.

My goal is to install a new instance of mysql 5.7.32 next to a possible existing 5.7.x

thanks for help

Options: ReplyQuote

Written By
MySQL service installation
November 18, 2020 04:07PM
November 20, 2020 05:30PM
January 21, 2021 06:42AM

Sorry, only registered users may post in this forum.

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.