MySQL service wont start windows

12,702

Solution 1

you have to check the log file of mysql which is saving all errors. You'll then know what's going on. The file suffix is .err and you should find it a mysql directory

Solution 2

I found the solution, I had to use this command to allow the service to work, run command "mysqld --initialize" while in the bin of mysql server. Then start the service with "net start mysql" while in admin cmd

Share:
12,702
shawlon
Author by

shawlon

Updated on June 16, 2022

Comments

  • shawlon
    shawlon almost 2 years

    I have a problem with MySQL server on windows, the service won't start. I have removed it with "mysqld --remove" then reinstall with "mysqld --install" but the error still occurs.

    MySQL service Error Link