{"id":202,"date":"2015-05-25T21:46:23","date_gmt":"2015-05-25T12:46:23","guid":{"rendered":"http:\/\/www.raythebm.net\/weblog\/?p=202"},"modified":"2015-05-25T21:46:23","modified_gmt":"2015-05-25T12:46:23","slug":"phpmyadmin%e3%81%ae%e7%92%b0%e5%a2%83%e4%bf%9d%e7%ae%a1%e9%a0%98%e5%9f%9f%e3%81%8c%e5%ae%8c%e5%85%a8%e3%81%ab%e8%a8%ad%e5%ae%9a%e3%81%95%e3%82%8c%e3%81%a6%e3%81%84%e3%81%aa%e3%81%84-%e3%82%a8","status":"publish","type":"post","link":"https:\/\/www.raythebm.net\/weblog\/archives\/202","title":{"rendered":"phpMyAdmin\u306e\u74b0\u5883\u4fdd\u7ba1\u9818\u57df\u304c\u5b8c\u5168\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u2026 \u30a8\u30e9\u30fc"},"content":{"rendered":"<p>\u304a\u3072\u3055\u3057\u3076\u308a\u3067\u3059\u3002<br \/>\n\u4e0d\u5b9a\u671f\u958b\u50ac\u306e\u4eca\u56de\u306e\u30cd\u30bf\u306f phpMyAdmin on Ubuntu 14.04 LTS \u3067\u3059\u3002<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\u30d1\u30c3\u30b1\u30fc\u30b8\u5165\u308c\u3066\u307f\u305f\u3093\u3067\u3059\u3088\u3002<br \/>\n\u305d\u3057\u305f\u3089\u3001\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3068\u300cphpMyAdmin \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\u3053\u3061\u3089\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002\u300d\u3068\u8868\u793a\u3055\u308c\u305f\u308f\u3051\u3067\u3059\u3002<br \/>\n\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u898b\u3066\u307f\u308b\u3068\u3001\u74b0\u5883\u4fdd\u7ba1\u9818\u57df\u306b\u4f7f\u308f\u308c\u308b phpmyadmin \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u7121\u304b\u3063\u305f\u306e\u3067 CREATE TABLE \u3057\u3066\u2026\u30c0\u30e1\u3002<br \/>\n\u4e2d\u8eab\u3092\u5165\u308c\u308c\u3070\u3044\u3044\u306e\u304b\u3068 \/usr\/share\/doc\/phpmyadmin\/examples\/create_tables.sql.gz \u3092\u6d41\u3057\u8fbc\u3093\u3067\u307f\u3066\u3082\u2026\u30c0\u30e1\u3002<br \/>\n\u6a29\u9650\u306e\u554f\u984c\u304b\u3068 CREATE USER \u3068 GRANT \u3092\u99c6\u4f7f\u3057\u3066\u3082\u2026\u30c0\u30e1\u3002<\/p>\n<p>\u2026\u7d50\u5c40\u3001\/etc\/phpmyadmin\/config.inc.php \u306e\u4e2d\u8eab\u3067\u74b0\u5883\u4fdd\u7ba1\u9818\u57df\u7528\u306e\u30c6\u30fc\u30d6\u30eb\u540d\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u90e8\u5206\u3067\u300c_\u300d(\u4e0b\u7dda\u3001\u30a2\u30f3\u30c0\u30fc\u30b9\u30b3\u30a2)\u304c\u4e00\u3064\u4e0d\u8db3\u3057\u3066\u3044\u305f\u306e\u304c\u539f\u56e0\u3067\u3057\u305f\u3002<br \/>\n\u76f4\u63a5\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u3059\u304b\u308f\u308a\u306b \/etc\/phpmyadmin\/conf.d\/env-storage.php \u3092\u4ee5\u4e0b\u306e\u5185\u5bb9\u3067\u4f5c\u308a\u307e\u3057\u305f\u3002<br \/>\n\u307b\u3068\u3093\u3069\u306f \/usr\/share\/doc\/phpmyadmin\/example\/config.example.inc.php \u304b\u3089\u30b3\u30d4\u30fc\u3057\u305f\u3082\u306e\u3067\u3059\u3002<\/p>\n<p><code><br \/>\n&lt;?php \/\/ \u3053\u3053\u304b\u3089<\/p>\n<p>$i = 1; \/\/ \u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092 1 \u306b\u623b\u3057\u3066(1-\u30d9\u30fc\u30b9\u306a\u306e\u3067\u6700\u521d\u304c 1)<br \/>\n\/* Storage database and tables *\/<br \/>\n$cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';<br \/>\n$cfg['Servers'][$i]['relation'] = 'pma__relation';<br \/>\n$cfg['Servers'][$i]['table_info'] = 'pma__table_info';<br \/>\n$cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';<br \/>\n$cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';<br \/>\n$cfg['Servers'][$i]['column_info'] = 'pma__column_info';<br \/>\n$cfg['Servers'][$i]['history'] = 'pma__history';<br \/>\n$cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';<br \/>\n$cfg['Servers'][$i]['tracking'] = 'pma__tracking';<br \/>\n$cfg['Servers'][$i]['designer_coords'] = 'pma__designer_coords';<br \/>\n$cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';<br \/>\n$cfg['Servers'][$i]['recent'] = 'pma__recent';<br \/>\n\/* Contrib \/ Swekey authentication *\/<br \/>\n\/\/ $cfg['Servers'][$i]['auth_swekey_config'] = '\/etc\/swekey-pma.conf';<br \/>\n?&gt; \/\/ \u3053\u3053\u307e\u3067<br \/>\n<\/code><\/p>\n<p>\u305d\u308c\u304b\u3089\u3001\u8a66\u884c\u932f\u8aa4\u3057\u3066\u3044\u308b\u6642\u306b \/etc\/phpmyadmin\/config.inc.php \u3092\u898b\u3066\u3044\u305f\u3068\u3053\u308d\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u6b21\u306e\u3088\u3046\u306a\u9806\u5e8f\u3067\u8aad\u307f\u8fbc\u307e\u308c\u308b\u3088\u3046\u3067\u3057\u305f\u3002(\u5f8c\u308d\u306b\u3042\u308b\u5185\u5bb9\u304c\u512a\u5148)<\/p>\n<ol>\n<li>\/var\/lib\/phpmyadmin\/config.inc.php (phpMyAdmin\/setup \u3067\u5909\u66f4\u3055\u308c\u308b\u30d5\u30a1\u30a4\u30eb)<\/li>\n<li>\/etc\/phpmyadmin\/config-db.php<\/li>\n<li>\/etc\/phpmyadmin\/config.inc.php (\u4eca\u56de\u306e\u60aa\u306e\u5143\u51f6)<\/li>\n<li>\/etc\/phpmyadmin\/conf.d\/*.php (\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3057\u305f\u5834\u6240)<\/li>\n<\/ol>\n<p>\u2026\u4ee5\u4e0a\u3067\u4eca\u56de\u306e\u30ec\u30dd\u30fc\u30c8\u3092\u7d42\u308f\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u304a\u3072\u3055\u3057\u3076\u308a\u3067\u3059\u3002 \u4e0d\u5b9a\u671f\u958b\u50ac\u306e\u4eca\u56de\u306e\u30cd\u30bf\u306f phpMyAdmin on Ubuntu 14.04 LTS \u3067\u3059\u3002 \u3068\u308a\u3042\u3048\u305a\u30d1\u30c3\u30b1\u30fc\u30b8\u5165\u308c\u3066\u307f\u305f\u3093\u3067\u3059\u3088\u3002 \u305d\u3057\u305f\u3089\u3001\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3068\u300cphpMyAdmin \u74b0\u5883\u4fdd\u7ba1\u9818\u57df\u304c &hellip; <a href=\"https:\/\/www.raythebm.net\/weblog\/archives\/202\">\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":{"footnotes":""},"categories":[3],"tags":[9,15,14,13,40,46],"class_list":["post-202","post","type-post","status-publish","format-standard","hentry","category-it","tag-howto","tag-linux","tag-memo","tag-mysql","tag-tool","tag-46"],"_links":{"self":[{"href":"https:\/\/www.raythebm.net\/weblog\/wp-json\/wp\/v2\/posts\/202","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.raythebm.net\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.raythebm.net\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.raythebm.net\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.raythebm.net\/weblog\/wp-json\/wp\/v2\/comments?post=202"}],"version-history":[{"count":5,"href":"https:\/\/www.raythebm.net\/weblog\/wp-json\/wp\/v2\/posts\/202\/revisions"}],"predecessor-version":[{"id":207,"href":"https:\/\/www.raythebm.net\/weblog\/wp-json\/wp\/v2\/posts\/202\/revisions\/207"}],"wp:attachment":[{"href":"https:\/\/www.raythebm.net\/weblog\/wp-json\/wp\/v2\/media?parent=202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.raythebm.net\/weblog\/wp-json\/wp\/v2\/categories?post=202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.raythebm.net\/weblog\/wp-json\/wp\/v2\/tags?post=202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}