{"id":909,"date":"2013-12-10T19:38:38","date_gmt":"2013-12-10T19:38:38","guid":{"rendered":"http:\/\/scunster.co.uk\/?p=909"},"modified":"2013-12-10T19:38:38","modified_gmt":"2013-12-10T19:38:38","slug":"mysql-fails-to-start-mysql-daemon-already-running-with-the-same-unix-socket","status":"publish","type":"post","link":"https:\/\/scunster.co.uk\/?p=909","title":{"rendered":"MySQL fails to start: MySQL daemon already running with the same unix socket."},"content":{"rendered":"<p>There could be several reasons for MySQL not starting up and showing &#8220;MySQL daemon already running with the same unix socket&#8221; when trying to run it from the terminal.<\/p>\n<p>The few times I have encountered this problem it has been after the server or VPS was improperly shutdown after a power failure or a forced shutdown on a VPS.<\/p>\n<p>Both times there was a leftover mysql.sock located in \/var\/lib\/mysql\/ due to the improper shut down. Because of this mysql.sock file MySQL actually thinks that it is running when in fact it isn&#8217;t.<\/p>\n<p>Delete this file and start MySQL back up.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There could be several reasons for MySQL not starting up and showing &#8220;MySQL daemon already running with the same unix socket&#8221; when trying to run it from the terminal. The few times I have encountered this problem it has been after the server or VPS was improperly shutdown after a power failure or a forced [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-909","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/909","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=909"}],"version-history":[{"count":1,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/909\/revisions"}],"predecessor-version":[{"id":910,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/909\/revisions\/910"}],"wp:attachment":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=909"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=909"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=909"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}