the MySQL service on local computer started and then stopped

Kem Bardly picture Kem Bardly · Feb 27, 2016 · Viewed 108.1k times · Source

the MySQL service on local computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.

Can anyone resolve this issue? Thanks.

Answer

Alexa picture Alexa · Apr 3, 2016

After installing it by mysqld --install. Try this mysqld --initialize. We got the same problem but it's now working.