{"id":467,"date":"2023-03-24T22:08:23","date_gmt":"2023-03-24T22:08:23","guid":{"rendered":"https:\/\/www.farcorfe.org.uk\/?p=467"},"modified":"2023-03-24T22:08:23","modified_gmt":"2023-03-24T22:08:23","slug":"solved-mysql-refusing-to-start","status":"publish","type":"post","link":"https:\/\/www.farcorfe.org.uk\/?p=467","title":{"rendered":"Solved &#8211; MYSQL  refusing to start"},"content":{"rendered":"\n<p>I had upgraded my version of Mysql Server via the ports a few weeks back and usually ports is very good at addressing any compatibility issues bumping up the versions.    A quick read of UPDATING had not flagged any real concerns, but on the reboot Mysql was steadfastly refusing to start.   No obvious error messages where thrown and it just silently refused to budge.<\/p>\n\n\n\n<p>Googling presented several solutions, but none palpable (wipe config and dbs and start again).  However one suggestion was to check the {hostname}.err file contained within <strong>\/var\/db\/mysql <\/strong>and lo and behold a quick <strong>TAIL {hostname}.err <\/strong>displayed the error that I have been missing.   Namely that <strong>query_cache_type=0 <\/strong>and <strong>query_cache_size=0 <\/strong>had been deprecated starting with v8 and needed to be deleted from my.cnf file. <\/p>\n\n\n\n<p>Fixing the my.cnf file and a quick service <strong>mysql-server start<\/strong> restored my Databases and we are back up and running.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had upgraded my version of Mysql Server via the ports a few weeks back and usually ports is very good at addressing any compatibility issues bumping up the versions. A quick read of UPDATING had not flagged any real concerns, but on the reboot Mysql was steadfastly refusing to start. No obvious error messages &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.farcorfe.org.uk\/?p=467\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Solved &#8211; MYSQL  refusing to start&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,7,10],"tags":[],"class_list":["post-467","post","type-post","status-publish","format-standard","hentry","category-free","category-house","category-tech-news"],"_links":{"self":[{"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=\/wp\/v2\/posts\/467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=467"}],"version-history":[{"count":0,"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=\/wp\/v2\/posts\/467\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}