Bug #90512 MySQL 8.0.11 don't read service section name in my.ini on Windows
Submitted: 19 Apr 14:35 Modified: 19 Apr 16:30
Reporter: Dominique Ottello Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server Severity:S1 (Critical)
Version:8.0.11 OS:Microsoft Windows
Assigned to: CPU Architecture:Any

[19 Apr 14:35] Dominique Ottello
Description:
Same bug as for 8.0.4 RC

MySQL 8.0.11, under Windows, launched by a service, does not take into account the mysql options of the service name section, just like for this bug in version 8.0.4 RC => https://bugs.mysql.com/bug.php?id=90383

How to repeat:
Install from zip file into:
j:/wamp64/bin/mysql/mysql8.0.11/
my.ini file is into j:/wamp64/bin/mysql/mysql8.0.11/my.ini

Create data directory with command:
mysqld.exe --default_authentication_plugin=mysql_native_password  --initialize-insecure

Create service with command:
mysqld.exe --install-manual wampmysqld64

Start service: net start wampmysqld64

none of the options in the my.ini service name section [wampmysqld64] file are taken into account.
We can, for example, change:
log-error-verbosity = 1
per
log-error-verbosity = 3
and restart the service, the MySQL log file is desperately empty.
[19 Apr 16:15] Miguel Solorzano
Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments to the original bug instead.

Thank you for your interest in MySQL.
[19 Apr 16:30] Dominique Ottello
I'm sorry this seems like a duplicate to you!
Nevertheless, I found a bug in MySQL 8.0.4 RC (Release Candidate), which is validated.
And now with the final version officially released, 8.0.11, I find the same problem.
I reasonably thought that this bug had been fixed for the official version, but that this fix was still not working.
I'm really disappointed that an official version was released without corrections, which penalizes all MySQL users under Windows.

Translated with www.DeepL.com/Translator