MySQL Forums
Forum List  »  Newbie

MySQL wont start as a service
Posted by: Roger Henley
Date: July 10, 2022 12:31PM

When the server dedicated to running MySQL shuts down for any reason the service MySQL80 will not automatically restart the database and produces an error message. I try to go to MySQL workbench and start from there but it produces an error message also. I have to go into cmd prompt and run mysqld. I have tried deleting the service and reinstalling it but nothing seems to work. I have even tried to --defaults-file=C:\... point it directly at the folder containing my.ini file.
error message when try to start via windows service:
The MySQL80 service on local computer started and then stopped. Some services stop automatically if they are not in use by another service or program.

error message when try to start via MySQL Workbench:
Could not connect to MySQL: Unable to connect to localhost 3306 (code 2003).

Any suggestions would be greatly appreciated.

Options: ReplyQuote

Written By
MySQL wont start as a service
July 10, 2022 12:31PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.