You execute the following statement in a Microsoft Windows environment. There are no
conflicts in the path name definitions. C: \> mysqld – install Mysql56 – defaults – file = C :
\my –opts.cnf What is the expected outcome?
A.
Mysql is installed as the Windows service name Mysql56, and uses c: \my-opts.cnf as the
configuration file
B.
An error message is issued because – install is not a valid option for mysqld.
C.
A running Mysql 5.6 installation has its runtime configuration updated with the server
variables set in c: \my-opts.cnf.
D.
Mysqld acts as an MSI installer and installs the Mysql 5.6 version, with the c:
\my-opts.cnf configuration file.
A
A
A is confirmed.
here https://dev.mysql.com/doc/refman/5.7/en/windows-start-service.html
As a more complex example, consider the following command:
C:\> “C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld”
–install MySQL –defaults-file=C:\my-opts.cnf