# MySQL service won't start

**URL:** <https://forums.interworx.com/t/mysql-service-wont-start/14088>\
**Category:** General Discussion\
**Tags:** mysql, mysql-will-not-start\
**Created:** [October 23, 2016, 6:15am UTC](https://forums.interworx.com/t/mysql-service-wont-start/14088 "2016-10-23T06:15:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hostpanda](https://forums.interworx.com/letter_avatar_proxy/v4/letter/h/59ef9b/32.png) [@hostpanda](https://forums.interworx.com/u/hostpanda)\
**Post date:** [October 23, 2016, 6:15am UTC](https://forums.interworx.com/t/mysql-service-wont-start/14088/1 "2016-10-23T06:15:55Z")

</div>

Hi, my server has been running great, however just yesterday MySQL service won’t restart or start. I have tried starting it through the terminal and the nodeworx interface. Not sure why it won’t restart. Anybody else having mysql issues after the 10-18-16 upgrade?  
Thanks

Ver 14.14 Distrib 5.5.53, for Linux (x86\_64) using readline 5.1# sudo /sbin/service mysqld start  
MySQL Daemon failed to start.  
Starting mysqld: [FAILED]

---

<div class="post-metadata">

**Author:** ![ctalavera](https://forums.interworx.com/letter_avatar_proxy/v4/letter/c/3be4f8/32.png) [@ctalavera](https://forums.interworx.com/u/ctalavera)\
**Post date:** [October 23, 2016, 12:21pm UTC](https://forums.interworx.com/t/mysql-service-wont-start/14088/2 "2016-10-23T12:21:50Z")

</div>

Do this:

mkdir /var/lib/mysql-files/  
service mysqld restart

---

<div class="post-metadata">

**Author:** ![hostpanda](https://forums.interworx.com/letter_avatar_proxy/v4/letter/h/59ef9b/32.png) [@hostpanda](https://forums.interworx.com/u/hostpanda)\
**Post date:** [October 23, 2016, 6:41pm UTC](https://forums.interworx.com/t/mysql-service-wont-start/14088/3 "2016-10-23T18:41:15Z")

</div>

Hey ctalavera  
That worked great, thank you so much. For my knowledge, what did I do, other than create a directory and restart the service. What happened, why did mysql not restart on its own?

Thanks again.

---

<div class="post-metadata">

**Author:** ![ctalavera](https://forums.interworx.com/letter_avatar_proxy/v4/letter/c/3be4f8/32.png) [@ctalavera](https://forums.interworx.com/u/ctalavera)\
**Post date:** [October 23, 2016, 8:44pm UTC](https://forums.interworx.com/t/mysql-service-wont-start/14088/4 "2016-10-23T20:44:02Z")

</div>

Apparently something changed where that directory is needed to execute secure files. The directory just needs to be created so that it has a place to look or store them I believe.

---

<div class="post-metadata">

**Author:** ![CRServers](https://forums.interworx.com/user_avatar/forums.interworx.com/crservers/32/13_2.png) [@CRServers](https://forums.interworx.com/u/CRServers)\
**Post date:** [March 14, 2017, 7:06am UTC](https://forums.interworx.com/t/mysql-service-wont-start/14088/5 "2017-03-14T07:06:12Z")

</div>

[QUOTE=ctalavera;29163]Do this:

mkdir /var/lib/mysql-files/  
service mysqld restart[/QUOTE]

This tip saved me also.  
Thanks 😉
