{"id":1200,"date":"2016-05-16T11:25:34","date_gmt":"2016-05-16T02:25:34","guid":{"rendered":"http:\/\/www.kinryo.net\/?p=1200"},"modified":"2016-05-16T17:28:17","modified_gmt":"2016-05-16T08:28:17","slug":"%ef%bc%92%ef%bc%95%ef%bc%9aphpmyadmin%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"https:\/\/www.kinryo.net\/?p=1200","title":{"rendered":"\uff12\uff15\uff1aphpMyAdmin\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>\u4ee5\u524d\u4f7f\u3063\u3066\u3044\u305f\u3001phpmyadmin4.2.2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u601d\u3044\u307e\u3057\u305f\u304c\u3001<a href=\"http:\/\/jvndb.jvn.jp\/ja\/contents\/2014\/JVNDB-2014-003893.html\" target=\"_blank\">\u3053\u3053\u306b\u3088\u308b\u3068<\/a>4.2.7.1\u672a\u6e80\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u306f\u30af\u30ed\u30b9\u30b5\u30a4\u30c8\u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u306e\u8106\u5f31\u6027\u304c\u5b58\u5728\u3059\u308b\u305d\u3046\u3067\u3059\u306e\u3067\u3001\u6700\u65b0\u306e4.6.1\u306b\u3057\u3088\u3046\u3068\u304b\u3001\u3067\u3082\u3053\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306fMySQL 5.5\u3001php 5.5\u4ee5\u4e0a\u3092\u8981\u6c42\u3057\u307e\u3059\u3002CentOS 6.7 \u306ephp\u306f5.3.3\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4e0a\u3052\u3066\u3082\u3044\u3044\u306e\u3067\u3059\u304c\u3001php\u306e5.3\u30685.5\u3067\u306f\u8272\u3005\u306f\u7d30\u304b\u306a\u5909\u66f4\u304c\u3042\u308b\u69d8\u3067\u3001XOOPS\u3092\u4f7f\u3063\u305f\uff08\u6587\u5b57\u30b3\u30fc\u30c9\uff1aEUC\u30fcJP\uff09WEB\u306b\u5f71\u97ff\u304c\u51fa\u305d\u3046\u306a\u306e\u3067\uff08<a href=\"http:\/\/xoops.ryus.co.jp\/modules\/d3blog\/details.php?bid=382\" target=\"_blank\">http:\/\/xoops.ryus.co.jp\/modules\/d3blog\/details.php?bid=382<\/a>\u306b\u89e3\u8aac\u304c\u3042\u308b\uff09\u3001\u3082\u3046\u5c11\u3057\u52c9\u5f37\u3057\u3066\u304b\u3089php\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4e0a\u3052\u308b\u3053\u3068\u306b\u3057\u305f\u3002phpmyadmin\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4e0b\u30524.0.10.15\u306b\u3059\u308b\u3002<a href=\"https:\/\/www.phpmyadmin.net\/downloads\/\">https:\/\/www.phpmyadmin.net\/downloads\/<\/a>\u304b\u3089<br \/>\nphpMyAdmin-4.0.10.15-all-languages.tar.gz\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u9069\u5f53\u306a\u5834\u6240\u306b\u4fdd\u5b58\u3057\u305f\u3089\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3001\u89e3\u51cd\u3092\u3057\u3066\u304a\u304f\u3002\uff08phpMyAdmin-4.0.10.15-all-languages\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u304c\u51fa\u6765\u308b\u306e\u3067\u3001\u305d\u308c\u3092\u81ea\u5206\u306eWEB\u306b\u30b3\u30d4\u30fc\u5f8c\u3001\u540d\u524d\u3092phpMyAdmin\u306b\u5909\u66f4\u3057\u3066\u304a\u304f\u3002\u305d\u3057\u3066\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u81ea\u5206\u306eURL\/phpMyAdmin(localhost\/phpMyAdmin\u3067\u3082\u53ef\uff09\u306b\u30a2\u30af\u30bb\u30b9\u5f8c\u3001mysql\u306b\u767b\u9332\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u540d\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u30ed\u30b0\u30a4\u30f3\u3092\u3059\u308b\u3002<br \/>\n\u30ed\u30b0\u30a4\u30f3\u5f8c\u3001\u53f3\u30da\u30a4\u30f3\u306e\u4e0b\u306e\u65b9\u306b\uff14\u3064\u306e\u77e5\u3089\u305b\u304c\u66f8\u3044\u3066\u3042\u3063\u305f\u3002<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1214\" src=\"http:\/\/www.kinryo.net\/wp-content\/uploads\/2016\/05\/Screenshot-300x163.png\" alt=\"Screenshot\" width=\"755\" height=\"410\" srcset=\"https:\/\/www.kinryo.net\/wp-content\/uploads\/2016\/05\/Screenshot-300x163.png 300w, https:\/\/www.kinryo.net\/wp-content\/uploads\/2016\/05\/Screenshot-150x81.png 150w, https:\/\/www.kinryo.net\/wp-content\/uploads\/2016\/05\/Screenshot.png 1000w\" sizes=\"auto, (max-width: 755px) 100vw, 755px\" \/><\/p>\n<p>\uff11\u3064\u76ee\u306f\u201dphpMyAdmin \u306e\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u306e\u691c\u8a0e\u3092\u304a\u5968\u3081\u3057\u307e\u3059\u3002\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306f 4.4.15.5 \u3067\u30012016-02-29 \u306b\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u201d\u3068\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u4e0a\u304c\u3063\u3066\u3044\u307e\u3059\u3068\u306e\u4e8b\u3002\u3053\u308c\u306f\u5148\u822c\u627f\u77e5\u306a\u306e\u3067\u3001\u7121\u8996<\/p>\n<p>\uff12\u3064\u76ee\u306f\u201d phpMyAdmin \u74b0\u5883\u4fdd\u7ba1\u9818\u57df\u304c\u5b8c\u5168\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u3044\u304f\u3064\u304b\u306e\u62e1\u5f35\u6a5f\u80fd\u304c\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u7406\u7531\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/www.kinryokai.net\/phpMyAdmin\/chk_rel.php?token=373c6996c0cdda5f71dc046ffaf26f67\">\u3053\u3061\u3089<\/a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002\u201d\u3068\u3042\u308b\u3002<\/p>\n<p>\uff13\u3064\u76ee\u306f\u201d\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u3001\u6697\u53f7\u5316 (blowfish_secret) \u7528\u306e\u975e\u516c\u958b\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u306e\u8a2d\u5b9a\u3092\u5fc5\u8981\u3068\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u201d\u3068\u3042\u308a\u3053\u308c\u306f\u5730\u8272\u304c\u30d4\u30f3\u30af\u3067\u3044\u304b\u306b\u3082\u3084\u3070\u305d\u3046\u3002<\/p>\n<p>\uff14\u3064\u76ee\u306f\u201d\u304a\u4f7f\u3044\u306b\u306a\u3063\u3066\u3044\u308b PHP \u306e MySQL \u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30d0\u30fc\u30b8\u30e7\u30f3 5.1.72 \u304c MySQL \u30b5\u30fc\u30d0\u306e\u30d0\u30fc\u30b8\u30e7\u30f3 5.6.29 \u3068\u7570\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u4e88\u671f\u3057\u306a\u3044\u4e0d\u5177\u5408\u3092\u8d77\u3053\u3059\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u201d\u3068\u3042\u308b\u3002\u3053\u308c\u306fmysql\u30925.6\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u3066\u3042\u308b\u306e\u3067\u3001\u51fa\u3066\u3044\u308b\u30ef\u30fc\u30cb\u30f3\u30b0\u3002<\/p>\n<p>\u65e9\u901f\u3001\uff12\u3064\u76ee\u304b\u3089\u5bfe\u51e6\u3059\u308b\u3002\uff08\u53c2\u8003\uff1a<a href=\"http:\/\/www.dbonline.jp\/phpmyadmin\/setting\/index1.html\" target=\"_blank\">http:\/\/www.dbonline.jp\/phpmyadmin\/setting\/index1.html<\/a>\uff09phpMyAdmin \u4e0a\u3067\u3001\u53f3\u30da\u30a4\u30f3\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u30bf\u30d6\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u53c2\u7167\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305fexamples\u306e\u4e2d\u306b\u3042\u308bcreate_tables.sql\u3092\u6307\u5b9a \u3057\u3001\u5b9f\u884c\uff08\u30b9\u30af\u30ed\u30fc\u30b9\u30c0\u30a6\u30f3\u3057\u306a\u3044\u3068\u898b\u3048\u306a\u3044\uff09\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001phpmyadmin\u30c7\u30fc\u30bf\u30fc\u30d9\u30fc\u30b9\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002\u30d6\u30e9\u30a6\u30b6\u306e\u518d\u8aad\u307f\u8fbc\u307f\u3092\u884c\u3046\u3068\u3001\u5de6 \u30da\u30a4\u30f3\u306bphpmyadmin\u304c\u51fa\u6765\u3066\u3044\u307e\u3059\u3002phpmyadmin\u7528\u306e\u30e6\u30fc\u30b6\u30fc\u306e\u4f5c\u6210\u53ca\u3073config\u30d5\u30a1\u30a4\u30eb\u306e\u8a2d\u5b9a\u3092\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n\u307e\u305a\u53f3\u30da\u30a4\u30f3\u306eSQL\u30bf\u30d6\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001<br \/>\nGRANT ALL ON phpmyadmin.* TO <a href=\"mailto:pma@localhost\">pma@localhost<\/a> IDENTIFIED BY &#8216;xxxxxxx&#8217;;<br \/>\n(xxxxxxx \u306f\u8a2d\u5b9a\u3057\u305f\u3044\u30d1\u30b9\u30ef\u30fc\u30c9\uff09\u3092\u5165\u529b\u3057\u3001\u5b9f\u884c\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u30e6\u30fc\u30b6\u30fc\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002\u305d\u306e\u78ba\u8a8d\u306f\u5de6\u30da\u30a4\u30f3\u306emysql\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u30c6\u30fc\u30d6\u30eb\u304c\u8868\u793a\u3055\u308c\u307e \u3059\u306e\u3067\u3001user\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u53f3\u30da\u30a4\u30f3\u306b\u30e6\u30fc\u30b6\u3068\u3057\u3066pma\u304c\u51fa\u6765\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>URL\/phpMyAdmin\/\u306b config.sample.inc.php \u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u3053\u308c\u3092config.inc.php\u306b\u5909\u66f4\u3057\u3001\u4e0b\u8a18\u306e\u8a2d\u5b9a\u3092\u3057\u307e\u3059\u304c\uff08\u5909\u66f4\u90e8\u5206\u306e\u307f\u629c\u7c8b\uff09<\/p>\n<div class=\"xoopsCode\">\n<pre><code><span style=\"color: #0000ff;\">\/* User used to manipulate with storage *\/ \r\n$cfg['Servers'][$i]['controlhost'] = '';\r\n$cfg['Servers'][$i]['controlport'] = '';\r\n$cfg['Servers'][$i]['controluser'] = 'pma';\r\n$cfg['Servers'][$i]['controlpass'] = 'xxxxxxx';\r\n\/* Storage database and tables *\/ \r\n$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin'; \r\n$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark'; \r\n$cfg['Servers'][$i]['relation'] = 'pma_relation'; \r\n$cfg['Servers'][$i]['table_info'] = 'pma_table_info'; \r\n$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords'; \r\n$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages'; \r\n$cfg['Servers'][$i]['column_info'] = 'pma_column_info'; \r\n$cfg['Servers'][$i]['history'] = 'pma_history'; \r\n$cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs'; \r\n$cfg['Servers'][$i]['tracking'] = 'pma_tracking'; \r\n$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords'; \r\n$cfg['Servers'][$i]['userconfig'] = 'pma_userconfig'; \r\n$cfg['Servers'][$i]['recent'] = 'pma_recent';\r\n$cfg['Servers'][$i]['favorite'] = 'pma__favorite';\r\n$cfg['Servers'][$i]['users'] = 'pma__users';\r\n$cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';\r\n$cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';\r\n$cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';\r\n\/* Contrib \/ Swekey authentication *\/<\/span>\r\n<span style=\"color: #0000ff;\">$cfg['Servers'][$i]['auth_swekey_config'] = '\/etc\/swekey-pma.conf';<\/span><\/code><\/pre>\n<\/div>\n<p>$cfg\u3067\u59cb\u307e\u308b\u884c\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u5916\u3059\u3002xxxxxxx\u306f\u4eca\u3001\u8a2d\u5b9a\u3057\u305f\u30d1\u30b9\u30ef\u30fc\u30c9\u3002<br \/>\nphpMyAdmin\u304b\u3089\u30ed\u30b0\u30a2\u30a6\u30c8\u5f8c\u3001\u30ed\u30b0\u30a4\u30f3\u3059\u308c\u3070OK<\/p>\n<p>3\u3064\u76ee\u306f<a href=\"http:\/\/www.la-nouveau.mydns.jp\/wordpress\/?p=99\" target=\"_blank\">http:\/\/www.la-nouveau.mydns.jp\/wordpress\/?p=99\u3092\u53c2\u8003\u306b<\/a>expect\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001mkpasswd\u3092\u884c\u3046<br \/>\n# yum -y install expect<br \/>\n# mkpasswd -l 46<br \/>\n\u3067\u3082\u3063\u3066\u3001\u3053\u3053\u3067\u8868\u793a\u3055\u308c\u305f\u30e9\u30f3\u30c0\u30e0\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092phpMyAdmin\u306e\u4e0b\u306b\u3042\u308bconfig.inc.php\u306e$cfg[&#8216;blowfish_secret&#8217;]\u306e\u6240\u306b\u66f8\u304d\u8fbc\u3081\u3070OK\u3002<\/p>\n<p>\uff14\u3064\u76ee\u306f\u73fe\u6642\u70b9\u3067\u306f\u554f\u984c\u306f\u306a\u3055\u305d\u3046\u3002\u89e3\u6c7a\u65b9\u6cd5\u3092\u7814\u7a76\u4e2d<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u524d\u4f7f\u3063\u3066\u3044\u305f\u3001phpmyadmin4.2.2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u601d\u3044\u307e\u3057\u305f\u304c\u3001\u3053\u3053\u306b\u3088\u308b\u30684.2.7.1\u672a\u6e80\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u306f\u30af\u30ed\u30b9\u30b5\u30a4\u30c8\u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u306e\u8106\u5f31\u6027\u304c\u5b58\u5728\u3059\u308b\u305d\u3046\u3067\u3059\u306e\u3067\u3001\u6700\u65b0\u306e4.6.1\u306b\u3057\u3088\u3046\u3068\u304b\u3001\u3067 &hellip; <a href=\"https:\/\/www.kinryo.net\/?p=1200\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"vkexunit_cta_each_option":"","footnotes":""},"categories":[8],"tags":[],"class_list":["post-1200","post","type-post","status-publish","format-standard","hentry","category-server"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/1200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1200"}],"version-history":[{"count":16,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/1200\/revisions"}],"predecessor-version":[{"id":1217,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/1200\/revisions\/1217"}],"wp:attachment":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}