+ 1

service "MySQL" (MySQL) failed to start. Verify that you have sufficient privileges to start system services.

first of all, i mistakenly typed "sc delete mysql" in the command prompt because my Xampp mysql is not responding. Later, i uninstall Xampp and reinstall it again and MySQL started working. so i uninstall Mariadb and reinstall it again. While installing Mariadb, it stopped and displayed a message saying "service "MySQL" (MySQL) failed to start. Verify that you have sufficient privileges to start system services." i would like you to help me solve this problem. Thank you.

9th Aug 2017, 8:19 PM
Abdul Shakur Abbas Sakhr
Abdul Shakur Abbas Sakhr - avatar
16 odpowiedzi
+ 3
You may not be full administrator and services often run under their own contexts anyway. One route is to work on your user account and trace the permission, another is to look at the service accounts themselves. This page is not a great match but it's the first one I saw that shows the right GUI for some Windows versions (third window with the "Log On" tab): http://www.winhelponline.com/blog/fix-event-log-service-error-1079/ Assuming you can run services.msc (or add the module in mmc): Are the logon accounts for MariaDB and MySQL services correct? If they were created by the apps, sometimes you have to delete the service users and reinstall the programs, especially if the passwords (which you never get to see) are out of sync. Some people don't feel like doing this and switch them to LocalSystem. This is usually wrong (databases can shell) but it's quick.
9th Aug 2017, 9:19 PM
Kirk Schafer
Kirk Schafer - avatar
+ 3
Sorry @Paul - I had tunnel vision and didn't mean to swipe the floor. One significant disadvantage I have here is that I'm not running Windows (and I haven't used recent versions). I totally don't mind if you're carrying this.
9th Aug 2017, 9:37 PM
Kirk Schafer
Kirk Schafer - avatar
+ 1
have you installed all stuff as a admin or just as a normal user? are you running pc on admin account??
9th Aug 2017, 8:43 PM
Paul
+ 1
i have never met this kind of problem tho. have you googled it? maybe you have a service that is stopper and should be running? you csch check services to be shure and if some sql is stopped you can try setting it on
9th Aug 2017, 9:02 PM
Paul
+ 1
When i run service.msc on my pc, it doesn't display the mysql service.
9th Aug 2017, 9:10 PM
Abdul Shakur Abbas Sakhr
Abdul Shakur Abbas Sakhr - avatar
+ 1
i would reinstall the whole thing again but i guess there is a better option out there. but i dont know how to help you. i will try to find a solution tho
9th Aug 2017, 9:13 PM
Paul
+ 1
are you running windows or linux?
9th Aug 2017, 9:18 PM
Paul
+ 1
i am uaed to linux tho, much simpler to maintain all the services man! i was searching for a windows solution but did not find answer yet. but as kirk saidvyou may end up reinstalling the whole thing eventually tho
9th Aug 2017, 9:43 PM
Paul
0
yes I am running my pc on admin account
9th Aug 2017, 8:45 PM
Abdul Shakur Abbas Sakhr
Abdul Shakur Abbas Sakhr - avatar
0
and I have installed all as admin
9th Aug 2017, 8:47 PM
Abdul Shakur Abbas Sakhr
Abdul Shakur Abbas Sakhr - avatar
0
how do i install mysql service on my pc?
9th Aug 2017, 9:14 PM
Abdul Shakur Abbas Sakhr
Abdul Shakur Abbas Sakhr - avatar
0
I am using windows
9th Aug 2017, 9:30 PM
Abdul Shakur Abbas Sakhr
Abdul Shakur Abbas Sakhr - avatar
0
seems like @kirk knows what is going on, at least more than me. fallow his unstructions and maybe you can find the problem mate
9th Aug 2017, 9:35 PM
Paul
0
@kirk I didnt get what I want from the link
9th Aug 2017, 9:38 PM
Abdul Shakur Abbas Sakhr
Abdul Shakur Abbas Sakhr - avatar
0
reboot cleanup the registry cleanup leftovers manually reboot install it again. if it is better than installing ehole thing again, give it a try. not advanced solution but what if it works?
9th Aug 2017, 9:47 PM
Paul
0
also try to set off you antivirus and install again. it may be caused by firewalls too tho
9th Aug 2017, 9:48 PM
Paul