{"id":115,"date":"2010-02-06T18:10:31","date_gmt":"2010-02-06T09:10:31","guid":{"rendered":"http:\/\/phpdev.comsys-blog.com\/?p=115"},"modified":"2010-02-06T18:10:31","modified_gmt":"2010-02-06T09:10:31","slug":"php%e3%81%8b%e3%82%89mysql%e3%81%ab%e6%8e%a5%e7%b6%9a%e3%81%99%e3%82%8b%e3%81%ae%e3%81%ab%e3%81%af%e3%81%be%e3%82%8a%e3%81%be%e3%81%8f%e3%82%8a%e3%83%bb%e3%83%bb%e3%83%bbsocket-%e3%81%ae%e8%a8%ad","status":"publish","type":"post","link":"https:\/\/tamura.jp\/?p=115","title":{"rendered":"PHP\u304b\u3089MySql\u306b\u63a5\u7d9a\u3059\u308b\u306e\u306b\u306f\u307e\u308a\u307e\u304f\u308a\u30fb\u30fb\u30fbsocket \u306e\u8a2d\u5b9a\u306e\u305a\u308c"},"content":{"rendered":"<p>TurboLinux 11 Server \u3067joomla\u3092\u52d5\u304b\u305d\u3046\u3068\u601d\u3063\u305f\u3089\u3002<\/p>\n<p>\u300cUnable to connect to the database:Could not connect to MySQL\u300d\u3053\u3093\u306a\u30e1\u30c3\u30bb\u30fc\u30b8<\/p>\n<p>\u3069\u3046\u3061\u3066\uff1f\uff01\uff1f\uff01\uff1f\uff01\uff1f\uff01 \u30b3\u30de\u30f3\u30c9\u3067mysql\u306f\u52d5\u304f\u306e\u306b~~~~~<\/p>\n<p>\u3042\u3042\u3067\u3082\u306a\u3044\u30fb\u30fb\u3053\u3046\u3067\u3082\u306a\u3044\u30fb\u30fb\u3068\u3082\u304c\u304d\u82e6\u3057\u3080\u3053\u3068\uff13\u6642\u9593<\/p>\n<p>\u308f\u304b\u3063\u305f\u3053\u3068<\/p>\n<p>\/etc\/my.cnf<\/p>\n<p>\u3067\u306f<\/p>\n<p>socket=\/var\/lib\/mysql\/mysql.sock<\/p>\n<p>\u3053\u3046\u306a\u3063\u3066\u3044\u308b\u306e\u306b<\/p>\n<p>php.ini\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u307e\u307e<\/p>\n<p>phpinfo\u3067\u8abf\u3079\u3066\u307f\u308b\u3068<\/p>\n<table border=\"0\" cellpadding=\"3\" width=\"600\">\n<tbody>\n<tr>\n<td>MYSQL_SOCKET<\/td>\n<td>\/tmp\/mysql.sock<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u3069\u3046\u3057\u3066\u3053\u3046\u306a\u308b\u306e\u30a9\u30a9\u30a9<\/p>\n<p>php.ini \u30d5\u30a1\u30a4\u30eb\u306b\u3053\u3046\u66f8\u3044\u3066\u4e00\u4ef6\u843d\u7740<\/p>\n<p>mysql.default_socket = \/var\/lib\/mysql\/mysql.sock<\/p>\n<p>\u3053\u3046\u3044\u3046\u3053\u3068\u3063\u3066\u7cbe\u795e\u7684\u306b\u307e\u3044\u308b\u306e\u3088\u306d\u3002\u3069\u3046\u306b\u304b\u3057\u3066\u306dTurboLinux\u3055\u3093\u3002<\/p>\n<p>CentOS\u3060\u3068\u3053\u3046\u3044\u3046\u3053\u3068\u306f\u306a\u3044\u3088\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>TurboLinux 11 Server \u3067joomla\u3092\u52d5\u304b\u305d\u3046\u3068\u601d\u3063\u305f\u3089\u3002 \u300cUnable to connect to the database:Could not connect to MySQL\u300d\u3053\u3093\u306a\u30e1\u30c3\u30bb\u30fc\u30b8 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-115","post","type-post","status-publish","format-standard","hentry","category-php"],"_links":{"self":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/posts\/115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=115"}],"version-history":[{"count":0,"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/posts\/115\/revisions"}],"wp:attachment":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}