{"id":16795,"date":"2016-01-17T01:10:38","date_gmt":"2016-01-16T16:10:38","guid":{"rendered":"http:\/\/oichinote.com\/plus\/?p=16795"},"modified":"2016-01-17T01:10:38","modified_gmt":"2016-01-16T16:10:38","slug":"cannot-add-user-without-mysql-upgrade","status":"publish","type":"post","link":"https:\/\/oichinote.com\/plus\/2016\/01\/cannot-add-user-without-mysql-upgrade.html","title":{"rendered":"MySQL\u306e\u30e6\u30fc\u30b6\u767b\u9332\u304c\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u56f0\u3063\u305f"},"content":{"rendered":"<p>WordPress\u306e\u30c6\u30b9\u30c8\u74b0\u5883\u7528\u306b\u30e6\u30fc\u30b6\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u3001phpMyAdmin\u3067\u4fee\u6b63\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u3001\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u307e\u3057\u305f\u3002<\/p>\n<pre>\r\n#1133 - Can't find any matching row in the user table\r\n<\/pre>\n<p>\u3084\u308d\u3046\u3068\u3057\u305f\u306e\u306f\u3001\u4ed6\u306e\u30db\u30b9\u30c8\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3057\u305f\u3002\u4ed5\u65b9\u304c\u306a\u3044\u306e\u3067\u3001\u65b0\u898f\u306b\u30e6\u30fc\u30b6\u3092\u4f5c\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3067\u3082\u3001\u3084\u3063\u3071\u308a\u3067\u304d\u307e\u305b\u3093\u3002\u3053\u306e#1133\u306e\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3067\u691c\u7d22\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u89e3\u6c7a\u306b\u7d50\u3073\u3064\u304f\u30da\u30fc\u30b8\u306f\u898b\u3064\u3051\u3089\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u65b0\u898f\u30e6\u30fc\u30b6\u306e\u767b\u9332\u3092\u3057\u3088\u3046\u3068\u3057\u305f\u6642\u306b\u3001#1133\u306e\u30a8\u30e9\u30fc\u3082\u51fa\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u6b21\u306e\u30a8\u30e9\u30fc\u3082\u51fa\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<pre>\r\nERROR 1054 (42S22): Unknown column 'plugin' in 'mysql.user'\r\n<\/pre>\n<p>\u3053\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u691c\u7d22\u3057\u305f\u3089\u3001\u6b21\u306e\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u3092\u898b\u3064\u3051\u307e\u3057\u305f\u3002\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"http:\/\/blogeek.me\/?p=88\" target=\"_blank\">MySQL \u3092\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u305f\u3089\u30e6\u30fc\u30b6\u30fc\u8ffd\u52a0\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u5834\u5408\u306e\u5bfe\u51e6\u6cd5 | Blogeek<\/a><\/li>\n<\/ul>\n<p>\u30e6\u30fc\u30b6\u767b\u9332\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u539f\u56e0\u306f\u3001MySQL\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30015.1\u304b\u30895.6\u306b\u4e0a\u3052\u305f\u305f\u3081\u3060\u305d\u3046\u3067\u3059\u3002\u3053\u306e\u30da\u30fc\u30b8\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u901a\u308a\u3001MySQL\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u8abf\u3079\u3066\u307f\u305f\u3089\u3001\u78ba\u304b\u306b5.1\u3067\u3057\u305f\u3002<\/p>\n<pre>\r\nmysql&gt; SELECT COUNT(1) column_count FROM information_schema.columns WHERE table_schema='mysql' AND table_name='user';\r\n+--------------+\r\n| column_count |\r\n+--------------+\r\n|           39 |\r\n+--------------+\r\n1 row in set (0.00 sec)\r\n<\/pre>\n<p>39\u306e\u5834\u5408\u306f\u3001MySQL5.1\u3060\u305d\u3046\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/oichinote.com\/plus\/files\/2016\/01\/20160116phpmyadmin.png\" alt=\"phpMyAdmin\" width=\"471\" height=\"302\" class=\"alignnone size-full wp-image-16831\" srcset=\"https:\/\/oichinote.com\/plus\/files\/2016\/01\/20160116phpmyadmin.png 471w, https:\/\/oichinote.com\/plus\/files\/2016\/01\/20160116phpmyadmin-150x96.png 150w\" sizes=\"auto, (max-width: 471px) 100vw, 471px\" \/><\/p>\n<p>\u89e3\u6c7a\u65b9\u6cd5\u306f\u3001\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre>\r\n# mysql_upgrade -u root -p\r\nEnter password: \r\nLooking for 'mysql' as: mysql\r\nLooking for 'mysqlcheck' as: mysqlcheck\r\nRunning 'mysqlcheck' with connection arguments: '--port=3306' '--socket=\/tmp\/mysql.sock' \r\nWarning: Using a password on the command line interface can be insecure.\r\nRunning 'mysqlcheck' with connection arguments: '--port=3306' '--socket=\/tmp\/mysql.sock' \r\nWarning: Using a password on the command line interface can be insecure.\r\nmysql.columns_priv                                 OK\r\n :\r\nOK\r\n<\/pre>\n<p>\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<pre>\r\nmysql&gt; SELECT COUNT(1) column_count FROM information_schema.columns WHERE table_schema='mysql' AND table_name='user';\r\n+--------------+\r\n| column_count |\r\n+--------------+\r\n|           43 |\r\n+--------------+\r\n1 row in set (0.00 sec)\r\n<\/pre>\n<p>43\u306e\u5834\u5408\u306f\u3001MySQL5.6\u3060\u305d\u3046\u3067\u3059\u3002\u3053\u306e\u72b6\u614b\u3067\u3001\u65b0\u898f\u30e6\u30fc\u30b6\u4f5c\u6210\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u826f\u304b\u3063\u305f\u3067\u3059\u3002<\/p>\n[amazonjs asin=\"4883378012\" locale=\"JP\"]\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u306e\u30c6\u30b9\u30c8\u74b0\u5883\u7528\u306b\u30e6\u30fc\u30b6\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u3001phpMyAdmin\u3067\u4fee\u6b63\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u3001\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u307e\u3057\u305f\u3002 #1133 &#8211; Can&#8217;t find any matching  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":16831,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u65b0\u3057\u3044\u8a18\u4e8b\u300eMySQL\u306e\u30e6\u30fc\u30b6\u767b\u9332\u304c\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u56f0\u3063\u305f\u300f\u3092\u6295\u7a3f\u3057\u307e\u3057\u305f\u3002\u8aad\u3093\u3067\u3044\u305f\u3060\u3051\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\u3002","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[5],"tags":[],"class_list":["post-16795","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/oichinote.com\/plus\/files\/2016\/01\/20160116phpmyadmin.png","jetpack-related-posts":[{"id":15497,"url":"https:\/\/oichinote.com\/plus\/2015\/07\/charset-at-column-in-table-of-mysql-database.html","url_meta":{"origin":16795,"position":0},"title":"WordPress\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u6539\u9020\u3057\u3066\u3044\u3066MySQL\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u306b\u306f\u307e\u308b","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2015\u5e747\u670811\u65e5","format":false,"excerpt":"\u65e5\u672c\u8a9e\u5316\u3055\u308c\u3066\u3044\u306a\u3044\u3001WordPress\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u3001\u65e5\u672c\u8a9e\u5316\u3057\u3066\u4f7f\u304a\u3046\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u4eca\u56de\u3001MySQ\u2026","rel":"","context":"WordPress","block_context":{"text":"WordPress","link":"https:\/\/oichinote.com\/plus\/category\/wordpress"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2015\/07\/20150711mysql-db-charset.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1565,"url":"https:\/\/oichinote.com\/plus\/2010\/04\/powermacwordp-2.html","url_meta":{"origin":16795,"position":1},"title":"PowerMac\u306bWordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f(3\/3)","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2010\u5e744\u670821\u65e5","format":false,"excerpt":"\u9023\u8f09\u8a18\u4e8b\u306e\u6700\u7d42\u56de\u3067\u3059\u3002 PowerMac G4\/MDD(Mac OS X 10.5.8)\u306bWordP\u2026","rel":"","context":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","block_context":{"text":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","link":"https:\/\/oichinote.com\/plus\/category\/computer"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11194,"url":"https:\/\/oichinote.com\/plus\/2014\/03\/moving-wordpress.html","url_meta":{"origin":16795,"position":2},"title":"WordPress\u306e\u30b5\u30fc\u30d0\u30fc\u306e\u5f15\u3063\u8d8a\u3057","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2014\u5e743\u670815\u65e5","format":false,"excerpt":"\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3092\u5f15\u3063\u8d8a\u3057\u3057\u3088\u3046\u304b\u3068\u3001\u691c\u8a0e\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u65b0\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u691c\u8a0e: \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593 (\u2026","rel":"","context":"Web-log\u30fb\u30b3\u30b3\u30ed\u30b0\u95a2\u9023","block_context":{"text":"Web-log\u30fb\u30b3\u30b3\u30ed\u30b0\u95a2\u9023","link":"https:\/\/oichinote.com\/plus\/category\/webblog-cocolog"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14809,"url":"https:\/\/oichinote.com\/plus\/2015\/04\/be-extended-to-move-another-web-hosting-server.html","url_meta":{"origin":16795,"position":3},"title":"Web\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u30d0\u306e\u66f4\u65b0\u306f\u5ef6\u671f\u3057\u307e\u3059","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2015\u5e744\u670813\u65e5","format":false,"excerpt":"\u5148\u9031\u672b\u3001Web\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u30d0\u3092\u66f4\u65b0\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u5ef6\u671f\u3057\u307e\u3059\u3002 Web\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u2026","rel":"","context":"Web-log\u30fb\u30b3\u30b3\u30ed\u30b0\u95a2\u9023","block_context":{"text":"Web-log\u30fb\u30b3\u30b3\u30ed\u30b0\u95a2\u9023","link":"https:\/\/oichinote.com\/plus\/category\/webblog-cocolog"},"img":{"alt_text":"mysql.connect_timeout","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2015\/04\/20150413mysql-timeout-480x73.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2255,"url":"https:\/\/oichinote.com\/plus\/2012\/03\/wordpress.html","url_meta":{"origin":16795,"position":4},"title":"OS X Lion\u306bWordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb(2\/5)","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2012\u5e743\u67087\u65e5","format":false,"excerpt":"\u4eca\u5e74\u306e\u76ee\u6a19\u306e\u4e00\u3064\u306f\u3001\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u3068\u30d6\u30ed\u30b0\u306e\u7d71\u5408\u3067\u3059\u3002 2012\u5e74\u8b39\u8cc0\u65b0\u5e74\u3001\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u7d71\u5408\u5316\u306b\u5411\u3051\u3066\u2026","rel":"","context":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","block_context":{"text":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","link":"https:\/\/oichinote.com\/plus\/category\/computer"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2017\/09\/20120307mysql5.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":10592,"url":"https:\/\/oichinote.com\/plus\/2014\/01\/updating-netatalk-from-3-0-5-to-3-1-0-on-freebsd.html","url_meta":{"origin":16795,"position":5},"title":"FreeBSD 9.1\u306enetatalk\u30923.0.5\u304b\u30893.1.0\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3059\u308b[\u8ffd\u8a18\u3042\u308a]","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2014\u5e741\u670813\u65e5","format":false,"excerpt":"FreeBSD\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u304c\u9762\u5012\u306b\u306a\u3063\u3066\u304d\u307e\u3057\u305f\u3002 FreeBSD\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u304c\u9762\u5012: \u30d7\u30e9\u2026","rel":"","context":"NAS","block_context":{"text":"NAS","link":"https:\/\/oichinote.com\/plus\/category\/nas"},"img":{"alt_text":"netatalk3.1.0\u306econfiguration","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2014\/01\/20140113netatalk3-config.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/16795","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/comments?post=16795"}],"version-history":[{"count":4,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/16795\/revisions"}],"predecessor-version":[{"id":16844,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/16795\/revisions\/16844"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media\/16831"}],"wp:attachment":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media?parent=16795"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/categories?post=16795"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/tags?post=16795"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}