Home>

I was trying to install MySQL by referring to this site.

An error will occur when registering MySQL in the Windows service and starting it.
I don't know why the service cannot be started, and I would appreciate it if you could tell me the solution.

MYSQL80 was added to "Services" on the "Computer Management" screen, but it was not started.
I tried to start it on the "Computer Management" screen, but the following message is displayed.
■ Message
"The MYSQL80 service on my local computer has started and stopped. Some services will automatically stop if they are not used by other services or programs."

We apologize if you have any questions that are difficult to understand for the first time.

Error message
C: \>NET START MYSQL80
Start the MYSQL80 service.
The MYSQL80 service could not be started.
The service did not report an error.
Enter NET HELPMSG 3534 for more detailed instructions.
What I tried

I had a similar question and answered that I would run it in my.ini location, but my.ini file is located directly under C: \.
https://www.tutorialfor.com/go.php?id=193875

Supplementary information (FW/tool version, etc.)

OS: windows10 64bit
CPU: core i5-3570
Memory: 16GB
MySQL Community Server 8.0

  • Answer # 1

    This article was a hit when I checked the error log.
    It says that the cause is the rest of the process, and when I tried restarting it, I was able to confirm that it was started.
    https://stackoverflow.com/questions/109690

  • Answer # 2

    There was such an article.
    https://qiita.com/TAIniko/items/2615dfbe60ad0c53072a

  • Answer # 3

    By the way, in my Win10 environment, the my.ini file is directly under the MySQL installation directory.

    By the way, does security software such as a firewall allow MySQL services and their port numbers?

Trends