{"id":1210,"date":"2019-01-25T16:37:04","date_gmt":"2019-01-25T07:37:04","guid":{"rendered":"http:\/\/kiwamaqs.ddo.jp\/weblog\/?p=1210"},"modified":"2024-02-19T10:06:05","modified_gmt":"2024-02-19T01:06:05","slug":"mysqlsocklock","status":"publish","type":"post","link":"https:\/\/kiwamaqs.com\/weblog\/mysqlsocklock\/","title":{"rendered":"Error upon HighSierra x mysql.sock.lock"},"content":{"rendered":"<p>The errors I met were below.<\/p>\n<p>ERROR 2002 (HY000): Can\u2019t connect to local MySQL server through socket \u2018\/var\/mysql\/mysql.sock'(#2), (38)<br \/>\nOSError: [Errno 13] Permission denied.<br \/>\nThe server quit without updating PID file (\/usr\/local\/var\/mysql\/xxxx.local.pid).<br \/>\n#2002 Failure to login MySQL server.<\/p>\n<p>Finally, I couldn&#8217;t access localhost or failed to connect to Wi-Fi.<br \/>\n(Maybe this has nothing to do with the server error)<\/p>\n<p>It seemed the mysql.sock file was not working.<br \/>\nFirst, I installed the latest version of MySQL(ver 8.1), but it didn&#8217;t work.<br \/>\nThen I uninstalled MYSQL and installed ver 5.7, but it didn&#8217;t work&#8230;<br \/>\nI tried the method that google suggested, but none of them solved my error.<\/p>\n<p>At that time, MYSQL couldn&#8217;t be controlled through system preferences.<br \/>\nWhen installed ver 8.1, the status turns to start and stop in a few seconds.<br \/>\nThen I checked the folder including .sock file, mysql.sock.lock was deleted and appeared every few seconds.<br \/>\nThis .sock file was added after ver 5.7.<br \/>\nSo I installed ver 5.6 which doesn&#8217;t have .sock file, and then everything went smoothly.<br \/>\nSomeone suggests to delete this .sock file, But in my case, I couldn&#8217;t catch the file.<br \/>\nThis is not a fundamental solution, but now my server is working well!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The errors I met were below. ERROR 2002 (HY000): Can\u2019t connect to local MySQL server through socket \u2018\/var\/mysq [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"_lightning_design_setting":{"layout":"default"},"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1210","post","type-post","status-publish","format-standard","hentry","category-3"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Error upon HighSierra x mysql.sock.lock - Think about<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kiwamaqs.com\/weblog\/mysqlsocklock\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Error upon HighSierra x mysql.sock.lock - Think about\" \/>\n<meta property=\"og:description\" content=\"The errors I met were below. ERROR 2002 (HY000): Can\u2019t connect to local MySQL server through socket \u2018\/var\/mysq [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kiwamaqs.com\/weblog\/mysqlsocklock\/\" \/>\n<meta property=\"og:site_name\" content=\"Think about\" \/>\n<meta property=\"article:published_time\" content=\"2019-01-25T07:37:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-19T01:06:05+00:00\" \/>\n<meta name=\"author\" content=\"Kiwamaq\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kiwamaq\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/kiwamaqs.com\\\/weblog\\\/mysqlsocklock\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kiwamaqs.com\\\/weblog\\\/mysqlsocklock\\\/\"},\"author\":{\"name\":\"Kiwamaq\",\"@id\":\"https:\\\/\\\/kiwamaqs.com\\\/weblog\\\/#\\\/schema\\\/person\\\/f452bf27fc892ae1d2cd299302c8df3e\"},\"headline\":\"Error upon HighSierra x mysql.sock.lock\",\"datePublished\":\"2019-01-25T07:37:04+00:00\",\"dateModified\":\"2024-02-19T01:06:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kiwamaqs.com\\\/weblog\\\/mysqlsocklock\\\/\"},\"wordCount\":217,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/kiwamaqs.com\\\/weblog\\\/#\\\/schema\\\/person\\\/f452bf27fc892ae1d2cd299302c8df3e\"},\"articleSection\":[\"\u738b\u69d8\u306e\u8033\u306f\u30ed\u30d0\u306e\u8033\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/kiwamaqs.com\\\/weblog\\\/mysqlsocklock\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kiwamaqs.com\\\/weblog\\\/mysqlsocklock\\\/\",\"url\":\"https:\\\/\\\/kiwamaqs.com\\\/weblog\\\/mysqlsocklock\\\/\",\"name\":\"Error upon HighSierra x mysql.sock.lock - Think about\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kiwamaqs.com\\\/weblog\\\/#website\"},\"datePublished\":\"2019-01-25T07:37:04+00:00\",\"dateModified\":\"2024-02-19T01:06:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kiwamaqs.com\\\/weblog\\\/mysqlsocklock\\\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/kiwamaqs.com\\\/weblog\\\/mysqlsocklock\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kiwamaqs.com\\\/weblog\\\/mysqlsocklock\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/kiwamaqs.com\\\/weblog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Error upon HighSierra x mysql.sock.lock\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kiwamaqs.com\\\/weblog\\\/#website\",\"url\":\"https:\\\/\\\/kiwamaqs.com\\\/weblog\\\/\",\"name\":\"Think about\",\"description\":\"as my diary\",\"publisher\":{\"@id\":\"https:\\\/\\\/kiwamaqs.com\\\/weblog\\\/#\\\/schema\\\/person\\\/f452bf27fc892ae1d2cd299302c8df3e\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/kiwamaqs.com\\\/weblog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/kiwamaqs.com\\\/weblog\\\/#\\\/schema\\\/person\\\/f452bf27fc892ae1d2cd299302c8df3e\",\"name\":\"Kiwamaq\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/i0.wp.com\\\/kiwamaqs.com\\\/weblog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/monsyo_kirinuki.png?fit=1112%2C1112&ssl=1\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/kiwamaqs.com\\\/weblog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/monsyo_kirinuki.png?fit=1112%2C1112&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/kiwamaqs.com\\\/weblog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/monsyo_kirinuki.png?fit=1112%2C1112&ssl=1\",\"width\":1112,\"height\":1112,\"caption\":\"Kiwamaq\"},\"logo\":{\"@id\":\"https:\\\/\\\/i0.wp.com\\\/kiwamaqs.com\\\/weblog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/monsyo_kirinuki.png?fit=1112%2C1112&ssl=1\"},\"url\":\"https:\\\/\\\/kiwamaqs.com\\\/weblog\\\/author\\\/kiwamaq\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Error upon HighSierra x mysql.sock.lock - Think about","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kiwamaqs.com\/weblog\/mysqlsocklock\/","og_locale":"ja_JP","og_type":"article","og_title":"Error upon HighSierra x mysql.sock.lock - Think about","og_description":"The errors I met were below. ERROR 2002 (HY000): Can\u2019t connect to local MySQL server through socket \u2018\/var\/mysq [&hellip;]","og_url":"https:\/\/kiwamaqs.com\/weblog\/mysqlsocklock\/","og_site_name":"Think about","article_published_time":"2019-01-25T07:37:04+00:00","article_modified_time":"2024-02-19T01:06:05+00:00","author":"Kiwamaq","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"Kiwamaq","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kiwamaqs.com\/weblog\/mysqlsocklock\/#article","isPartOf":{"@id":"https:\/\/kiwamaqs.com\/weblog\/mysqlsocklock\/"},"author":{"name":"Kiwamaq","@id":"https:\/\/kiwamaqs.com\/weblog\/#\/schema\/person\/f452bf27fc892ae1d2cd299302c8df3e"},"headline":"Error upon HighSierra x mysql.sock.lock","datePublished":"2019-01-25T07:37:04+00:00","dateModified":"2024-02-19T01:06:05+00:00","mainEntityOfPage":{"@id":"https:\/\/kiwamaqs.com\/weblog\/mysqlsocklock\/"},"wordCount":217,"commentCount":0,"publisher":{"@id":"https:\/\/kiwamaqs.com\/weblog\/#\/schema\/person\/f452bf27fc892ae1d2cd299302c8df3e"},"articleSection":["\u738b\u69d8\u306e\u8033\u306f\u30ed\u30d0\u306e\u8033"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kiwamaqs.com\/weblog\/mysqlsocklock\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kiwamaqs.com\/weblog\/mysqlsocklock\/","url":"https:\/\/kiwamaqs.com\/weblog\/mysqlsocklock\/","name":"Error upon HighSierra x mysql.sock.lock - Think about","isPartOf":{"@id":"https:\/\/kiwamaqs.com\/weblog\/#website"},"datePublished":"2019-01-25T07:37:04+00:00","dateModified":"2024-02-19T01:06:05+00:00","breadcrumb":{"@id":"https:\/\/kiwamaqs.com\/weblog\/mysqlsocklock\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kiwamaqs.com\/weblog\/mysqlsocklock\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kiwamaqs.com\/weblog\/mysqlsocklock\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/kiwamaqs.com\/weblog\/"},{"@type":"ListItem","position":2,"name":"Error upon HighSierra x mysql.sock.lock"}]},{"@type":"WebSite","@id":"https:\/\/kiwamaqs.com\/weblog\/#website","url":"https:\/\/kiwamaqs.com\/weblog\/","name":"Think about","description":"as my diary","publisher":{"@id":"https:\/\/kiwamaqs.com\/weblog\/#\/schema\/person\/f452bf27fc892ae1d2cd299302c8df3e"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kiwamaqs.com\/weblog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":["Person","Organization"],"@id":"https:\/\/kiwamaqs.com\/weblog\/#\/schema\/person\/f452bf27fc892ae1d2cd299302c8df3e","name":"Kiwamaq","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/i0.wp.com\/kiwamaqs.com\/weblog\/wp-content\/uploads\/2020\/06\/monsyo_kirinuki.png?fit=1112%2C1112&ssl=1","url":"https:\/\/i0.wp.com\/kiwamaqs.com\/weblog\/wp-content\/uploads\/2020\/06\/monsyo_kirinuki.png?fit=1112%2C1112&ssl=1","contentUrl":"https:\/\/i0.wp.com\/kiwamaqs.com\/weblog\/wp-content\/uploads\/2020\/06\/monsyo_kirinuki.png?fit=1112%2C1112&ssl=1","width":1112,"height":1112,"caption":"Kiwamaq"},"logo":{"@id":"https:\/\/i0.wp.com\/kiwamaqs.com\/weblog\/wp-content\/uploads\/2020\/06\/monsyo_kirinuki.png?fit=1112%2C1112&ssl=1"},"url":"https:\/\/kiwamaqs.com\/weblog\/author\/kiwamaq\/"}]}},"_links":{"self":[{"href":"https:\/\/kiwamaqs.com\/weblog\/wp-json\/wp\/v2\/posts\/1210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kiwamaqs.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kiwamaqs.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kiwamaqs.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/kiwamaqs.com\/weblog\/wp-json\/wp\/v2\/comments?post=1210"}],"version-history":[{"count":4,"href":"https:\/\/kiwamaqs.com\/weblog\/wp-json\/wp\/v2\/posts\/1210\/revisions"}],"predecessor-version":[{"id":2369,"href":"https:\/\/kiwamaqs.com\/weblog\/wp-json\/wp\/v2\/posts\/1210\/revisions\/2369"}],"wp:attachment":[{"href":"https:\/\/kiwamaqs.com\/weblog\/wp-json\/wp\/v2\/media?parent=1210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kiwamaqs.com\/weblog\/wp-json\/wp\/v2\/categories?post=1210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kiwamaqs.com\/weblog\/wp-json\/wp\/v2\/tags?post=1210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}