{"id":186,"date":"2022-06-03T10:49:33","date_gmt":"2022-06-03T01:49:33","guid":{"rendered":"https:\/\/fumilymart.com\/?p=186"},"modified":"2022-06-03T10:49:33","modified_gmt":"2022-06-03T01:49:33","slug":"wsl2debian-docker-mysql-8-0-x-%e3%81%a7%e3%82%a8%e3%83%a9%e3%83%bc","status":"publish","type":"post","link":"https:\/\/fumilymart.com\/?p=186","title":{"rendered":"WSL2(Debian) + Docker + MySQL 8.0.x \u3067\u30a8\u30e9\u30fc"},"content":{"rendered":"<p>Docker\u3067MySQL 8.0.x\u3092\u52d5\u304b\u305d\u3046\u3068\u3057\u305f\u3089\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3001\u30b3\u30f3\u30c6\u30ca\u304c\u8d77\u52d5\u3057\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p><code>[ERROR] [MY-010295] [Server] Could not set file permission for ca.pem<\/code><br \/>\n<code>[ERROR] [MY-013236] [Server] The designated data directory \/var\/lib\/mysql\/ is unusable. You can remove all files that the server added to it.<\/code><br \/>\n<code>[ERROR] [MY-010119] [Server] Aborting<\/code><\/p>\n<p>MySQL\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30925.7\u304b\u30895.7.16\u306b\u5909\u66f4\u3057\u308d\u307f\u305f\u3044\u306a\u306e\u3092\u898b\u639b\u3051\u307e\u3057\u305f\u304c\u3001<br \/>\n8\u7cfb\u3067\u52d5\u304b\u3057\u305f\u3044\u306e\u3067\u3001\u305d\u308c\u3067\u306f\u89e3\u6c7a\u306b\u306a\u3063\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u306a\u306e\u3067\u3001<span style=\"color: #ff0000;\">WSL\u4e0a<\/span>\u306e\u3001\/etc\/wsl.conf \u306b\u4ee5\u4e0b\u3092\u8ffd\u8a18\u3057\u3066\u3001<span style=\"color: #ff0000;\">WSL\u3092\u518d\u8d77\u52d5<\/span>\u3057\u307e\u3059\u3002<br \/>\n\uff08\/etc\/wsl.conf \u304c\u5b58\u5728\u3057\u3066\u3044\u306a\u3051\u308c\u3070\u3001\u65b0\u898f\u306b\u4f5c\u6210\u3057\u307e\u3059\u3002\uff09<\/p>\n<p><code>[<span class=\"n\">automount<\/span>]<\/code><br \/>\n<code><span class=\"n\">options<\/span> = <span class=\"s2\">\"metadata\"<\/span><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Docker\u3067MySQL 8.0.x\u3092\u52d5\u304b\u305d\u3046\u3068\u3057\u305f\u3089\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3001\u30b3\u30f3\u30c6\u30ca\u304c\u8d77\u52d5\u3057\u307e\u305b\u3093\u3067\u3057\u305f\u3002 [ERROR] [MY-010295] [Server] Could not set file permissio &#8230; <a title=\"WSL2(Debian) + Docker + MySQL 8.0.x \u3067\u30a8\u30e9\u30fc\" class=\"read-more\" href=\"https:\/\/fumilymart.com\/?p=186\" aria-label=\"WSL2(Debian) + Docker + MySQL 8.0.x \u3067\u30a8\u30e9\u30fc \u306b\u3064\u3044\u3066\u3055\u3089\u306b\u8aad\u3080\">\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-186","post","type-post","status-publish","format-standard","hentry","category-ict"],"_links":{"self":[{"href":"https:\/\/fumilymart.com\/index.php?rest_route=\/wp\/v2\/posts\/186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fumilymart.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fumilymart.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fumilymart.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fumilymart.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=186"}],"version-history":[{"count":0,"href":"https:\/\/fumilymart.com\/index.php?rest_route=\/wp\/v2\/posts\/186\/revisions"}],"wp:attachment":[{"href":"https:\/\/fumilymart.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fumilymart.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fumilymart.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}