{"id":7,"date":"2012-10-06T02:42:48","date_gmt":"2012-10-05T17:42:48","guid":{"rendered":"http:\/\/www.cm.kj.yamagata-u.ac.jp\/v2log\/?p=7"},"modified":"2012-10-06T12:08:40","modified_gmt":"2012-10-06T03:08:40","slug":"mysql%e3%81%a8wordpress%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%ae%e3%83%a1%e3%83%a2","status":"publish","type":"post","link":"http:\/\/www.cml-office.org\/v2log\/2012\/10\/06\/computer\/7","title":{"rendered":"MySQL\u3068WordPress\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u30e1\u30e2"},"content":{"rendered":"<p>\u3000Twitter\u9023\u643a\u6a5f\u80fd\u3092\u8a66\u3057\u305f\u304f\u3066\u3001\u5b66\u5185Blog\u3092\u5fa9\u6d3b\u3055\u305b\u308b\u3053\u3068\u306b\u3057\u305f\u3002\u305d\u308c\u306a\u308a\u306e\u6a5f\u80fd\u306e\u3082\u306e\u3092\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u3001MySQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066WordPress\u3092\u5165\u308c\u305f\u3002\u3059\u3067\u306b\u63b2\u793a\u677f\u3067\u306fPostgreSQL\u304c\u52d5\u3044\u3066\u3044\u308b\u3057\u3053\u3063\u3061\u306e\u65b9\u304c\u99b4\u67d3\u307f\u306a\u3093\u3060\u3051\u3069\u3001MySQL\u7121\u3057\u3067\u306f\u52d5\u304b\u306a\u3044\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3082\u3042\u308b\u306e\u3067\u3084\u3080\u3092\u5f97\u305a\u3002<\/p>\n<p>\u3000\u3067\u3001\u6848\u306e\u5b9a\u306f\u307e\u308b\u3002<\/p>\n<p>\u3000\u307e\u305a\u3001\u3053\u306e\u9593\u65b0\u3057\u304f\u3057\u305f\u3070\u3063\u304b\u308a\u306eFreeBSD ports\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u304b\u3089\u5165\u308c\u3088\u3046\u3068\u3057\u305f\u3089\u3001\u3042\u3061\u3053\u3061\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u95a2\u9023\u30d5\u30a1\u30a4\u30eb\u304c\u30d0\u30e9\u6492\u304b\u308c\u308b\u7d50\u679c\u306b\u3002\u3057\u304b\u3082\u30c7\u30fc\u30e2\u30f3\u304c\u4e0a\u304c\u3089\u306a\u3044\u3002\u30d0\u30e9\u6492\u304b\u308c\u3066\u4f55\u304c\u56f0\u308b\u304b\u3068\u3044\u3046\u3068\u3001PHP\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u306e\u524d\u306e\u8a2d\u5b9a\u3067\u3001<br \/>\n.\/configure &#8211;with-apxs2=\/usr\/local\/apache2\/bin\/apxs &#8211;with-mysql=\/usr\/local\/mysql &#8211;with-pgsql=\/usr\/local\/pgsql  &#8211;enable-mbstring &#8211;enable-mbstr-enc-trans &#8211;enable-mbregex &#8211;with-libmbfl &#8211;enable-pcntl &#8211;with-zlib -with-openssl<br \/>\n\u3068\u304b\u3084\u308b\u3093\u3060\u3051\u3069\u3001&#8211;with-mysql=\u306e\u5f8c\u306eMySQL\u306e\u30d9\u30fc\u30b9\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u3069\u3053\u306a\u306e\u304b\u3055\u3063\u3071\u308a\u308f\u304b\u3089\u306a\u3044\u306e\u304c\u56f0\u308b\u308f\u3051\u3067\u3002PHP\u307e\u3067port\u3067\u5165\u308c\u3066\u3044\u308c\u3070\u3044\u3044\u3093\u3060\u308d\u3046\u3051\u3069\u3001PHP\u306f\u30bd\u30fc\u30b9\u304b\u3089\u5165\u308c\u3066\u308b\u308f\u3051\u3067\u2026\u2026\u3002<br \/>\n\u3000\u4ed5\u65b9\u304c\u306a\u3044\u306e\u3067MySQL\u306e\u30bd\u30fc\u30b9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3001\/usr\/local\/mysql\u306b\u5165\u308c\u308b\u3002\u95a2\u9023\u30d5\u30a1\u30a4\u30eb\u5168\u90e8\u3053\u306e\u4e0b\u306b\u307e\u3068\u307e\u3063\u3066\u304f\u308c\u308b\u3068\u3044\u3046\u4f55\u3060\u304b\u304a\u884c\u5100\u306e\u3088\u3044\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7d50\u679c\u306b\u3002\u3067\u3001PHP\u306e\u518d\u30b3\u30f3\u30d1\u30a4\u30eb\u3092\u3057\u3001\u52d5\u304f\u3053\u3068\u3092\u78ba\u8a8d\u3001\u3068\u666e\u6bb5\u306e\u63b2\u793a\u677f\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3089httpd\u304c\u3084\u305f\u3089\u91cd\u304f\u306a\u3063\u305f\u3002httpd\u3092\u4e00\u65e6\u6b62\u3081\u3066\u4e0a\u3052\u76f4\u3057\u305f\u3089\u554f\u984c\u306a\u304b\u3063\u305f\u306e\u3067\u3084\u308c\u3084\u308c\u3002<br \/>\n\u3000MySQL\u306f5.5\u304b\u3089\u8efd\u304f\u306a\u3063\u305f\u3068\u3044\u3046\u3053\u3068\u306a\u306e\u30675.5\u3092\u5165\u308c\u305f\u3002\u3068\u3053\u308d\u304c\u3001\u3084\u3063\u3071\u308a\u6700\u521d\u304b\u3089daemon\u304c\u4e0a\u304c\u3089\u306a\u3044\u3002<br \/>\n\u3000\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001<br \/>\n\/usr\/local\/mysql\/bin\/mysqld: Table &#8216;mysql.plugin&#8217; doesn&#8217;t exist<br \/>\n[ERROR] Can&#8217;t open the mysql.plugin table. Please run mysql_upgrade to create it.<br \/>\n\u3068\u3042\u308b\u306e\u3067\u3001\u8a00\u308f\u308c\u305f\u901a\u308a\u306bmysql_upgrade\u3092\u52d5\u304b\u3059\u3001\u3064\u307e\u308a<br \/>\n\/usr\/local\/mysql\/bin\/mysql_upgrade<br \/>\n\u3092\u5b9f\u884c\u3059\u308b\u3068\u6b21\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u3002<br \/>\n\/usr\/local\/mysql\/bin\/mysqlcheck: Got error: 2002: Can&#8217;t connect to local MySQL server through socket &#8216;\/tmp\/mysql.sock&#8217; (2) when trying to connect<br \/>\nFATAL ERROR: Upgrade failed<\/p>\n<p>\u3000\u3082\u3057\u304b\u3057\u3066\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u7121\u3044\u304b\u3089\u304b\uff1f<br \/>\n\u3000\u3068\u3044\u3046\u3053\u3068\u3067\u3001cd \/usr\/local\/mysql \u3057\u3066\u304b\u3089\/usr\/local\/mysql\/scripts\/mysql_install_db &#8211;user=mysql \u3068\u3084\u308b\u3068\u7279\u306b\u30a8\u30e9\u30fc\u3082\u7121\u304f\u6210\u529f\u3057\u3001daemon\u3082\u4e0a\u304c\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002<br \/>\n\u3000mysql_install_db\u306f\u3001\u30d9\u30fc\u30b9\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306bcd\u3057\u3066\u5b9f\u884c\u3059\u308b\u304b\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u30d9\u30fc\u30b9\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u5b9a\u3059\u308b\u304b\u3057\u306a\u3044\u3068\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u306e\u3067\u6ce8\u610f\u3002<br \/>\n\u3000\u3053\u3053\u307e\u3067\u3044\u3051\u3070\u3001\u30cd\u30c3\u30c8\u3067\u63a2\u3057\u306a\u304c\u3089MySQL\u306e\u30b3\u30de\u30f3\u30c9\u3092\u307d\u3064\u307d\u3064\u53e9\u3044\u3066\u3001root\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3001WordPress\u7528\u306e\u30e6\u30fc\u30b6\u30fc\u3068\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u3063\u3066\u5168\u30a2\u30af\u30bb\u30b9\u3092\u8a31\u53ef\u3001\u3068\u3084\u3063\u3066\u7121\u4e8b\u7d42\u4e86\u3002<\/p>\n<p>\u3000\u4fbf\u5229\u30c4\u30fc\u30eb\u3092\u3044\u304f\u3064\u304b\u5165\u308c\u3066\u3001\u3055\u3066\u30c4\u30a3\u30c3\u30bf\u30fc\u9023\u643a\u3092\u3001\u3068\u8a66\u3057\u3066\u307f\u305f\u3093\u3060\u304c\u2026\u2026\u3002\u3069\u3046\u3082\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u4e0d\u4e00\u81f4\u304b\u3042\u307e\u308a\u3046\u307e\u304f\u52d5\u304b\u306a\u3044\u3002<br \/>\n\u3000\u307e\u305a\u3001TweetBlender\u306f\u8a2d\u5b9a\u753b\u9762\u304c\u51fa\u306a\u3044\u3002\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u306b\u306f\u51fa\u308b\u304c\u3001\u809d\u5fc3\u306e Archive\u306e\u8a2d\u5b9a\u304c\u3067\u304d\u306a\u3044\u306e\u3067\u3042\u307e\u308a\u5f79\u306b\u7acb\u305f\u306a\u3044\u3002<br \/>\n\u3000Tweet2Posts\u306f\u3001\u4e00\u756a\u6700\u521d\u306b\u51fa\u308b\u8a2d\u5b9a\u306e\u753b\u9762\u3057\u304b\u51fa\u306a\u3044\u4e0a\u306b\u3001\u3053\u3044\u3064\u3092\u6709\u52b9\u306b\u3059\u308b\u3068\u3001WordPress\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u4e00\u89a7\u3067\u3001Tweet2Posts\u306e\u4e0b\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u3069\u308c\u3092\u8a2d\u5b9a\u3057\u3088\u3046\u3068\u3057\u3066\u3082\u3001Tweet2Posts\u306e\uff11\u30da\u30fc\u30b8\u76ee\uff08\uff1f\uff09\u306e\u8a2d\u5b9a\u753b\u9762\u306b\u306a\u3063\u3066\u3001\u4ed6\u306e\u30e2\u30ce\u307e\u3067\u9053\u9023\u308c\u3067\u8a2d\u5b9a\u3067\u304d\u306a\u304f\u306a\u308b\u3068\u3044\u3046\u2026\u2026\u3002<br \/>\n\u3000SimpleTweet\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3082\u8a2d\u5b9a\u3082\u3067\u304d\u308b\u304c\u3001\u6295\u7a3f\u3057\u3066\u3082\u9023\u643a\u3057\u3066\u304f\u308c\u306a\u3044\u4e0a\u306b\u3001\u6295\u7a3f\u5f8c\u306e\u30da\u30fc\u30b8\u304c\u771f\u3063\u767d\u306b\u306a\u308b\u3001\u3068\u3044\u3046\uff08\u3067\u3082\u6295\u7a3f\u306f\u3067\u304d\u3066\u3044\u308b\uff09\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000Twitter\u9023\u643a\u6a5f\u80fd\u3092\u8a66\u3057\u305f\u304f\u3066\u3001\u5b66\u5185Blog\u3092\u5fa9\u6d3b\u3055\u305b\u308b\u3053\u3068\u306b\u3057\u305f\u3002\u305d\u308c\u306a\u308a\u306e\u6a5f\u80fd\u306e\u3082\u306e\u3092\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u3001MySQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066WordPress\u3092\u5165\u308c\u305f\u3002\u3059\u3067\u306b\u63b2\u793a\u677f\u3067\u306fPostgreSQL\u304c\u52d5\u3044\u3066\u3044\u308b\u3057\u3053 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5],"tags":[],"class_list":["post-7","post","type-post","status-publish","format-standard","hentry","category-computer","category-server"],"_links":{"self":[{"href":"http:\/\/www.cml-office.org\/v2log\/wp-json\/wp\/v2\/posts\/7","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.cml-office.org\/v2log\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.cml-office.org\/v2log\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.cml-office.org\/v2log\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.cml-office.org\/v2log\/wp-json\/wp\/v2\/comments?post=7"}],"version-history":[{"count":0,"href":"http:\/\/www.cml-office.org\/v2log\/wp-json\/wp\/v2\/posts\/7\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.cml-office.org\/v2log\/wp-json\/wp\/v2\/media?parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.cml-office.org\/v2log\/wp-json\/wp\/v2\/categories?post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.cml-office.org\/v2log\/wp-json\/wp\/v2\/tags?post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}