Bug #116012 | MySQL8 - mysqld_'--no-monitor' option not working | ||
---|---|---|---|
Submitted: | 5 Sep 2024 14:08 | Modified: | 6 Sep 2024 11:59 |
Reporter: | KERN Dév | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Installing | Severity: | S3 (Non-critical) |
Version: | 8.0.33 | OS: | Windows |
Assigned to: | CPU Architecture: | x86 | |
Tags: | MySQL 8 |
[5 Sep 2024 14:08]
KERN Dév
[5 Sep 2024 17:55]
MySQL Verification Team
A typo, you've said "-install" instead of "--install" on the command line.
[6 Sep 2024 8:19]
KERN Dév
Is there any differences between them ? I try these command and it works both. When I put '--install' for my test, the only difference I see is 2024-09-05T12:24:26.413974Z 0 [ERROR] [MY-000068] [Server] unknown option '--install'. instead of 2024-09-05T12:27:06.249194Z 0 [ERROR] [MY-000069] [Server] [PATH_SERVER_MYSQL8]\bin\mysqld.exe: unknown option '-i'. It seems that mysqld does not take the ‘--default-file’ option... and I've moved all my folders 'MySQL' into a single folder to make sure I don't miss any information. Any suggestions ?
[6 Sep 2024 11:59]
MySQL Verification Team
Here how to do it, put that option in my.ini C:\my\mysql-commercial-8.0.39-winx64>bin\mysqld.exe --install MySQL8_Server --defaults-file=c:/my/my.ini --local-service Service successfully installed. C:\my\mysql-commercial-8.0.39-winx64>type c:\my\my.ini [mysqld] skip-log-bin basedir=C:/my/mysql-commercial-8.0.39-winx64 datadir=C:/my/mysql-commercial-8.0.39-winx64/data no-monitor=ON The docs state: https://dev.mysql.com/doc/refman/8.0/en/windows-start-service.html "If a service name is given, it can be followed by a single option. By convention, this should be --defaults-file=file_name to specify the name of an option file from which the server should read options when it starts. "