How to fix «Failed to install the service» on `mysqld --install`?

2023-06-07--16-44-42

bugs.mysql.com/bug.php?id=60215

The solutiuon is to specify a name for the service, e.g.:

mysqld --install-manual MySQL --defaults-file="C:\server\mysql\ini\my.ini"

2023-06-07--16-56-17

blog.csdn.net/ah_quwei/article/details/118609379