{"id":3347,"date":"2019-12-24T13:12:14","date_gmt":"2019-12-24T05:12:14","guid":{"rendered":"https:\/\/www.webteach.tw\/?p=3347"},"modified":"2019-12-24T13:12:14","modified_gmt":"2019-12-24T05:12:14","slug":"phpmyadmin-2","status":"publish","type":"post","link":"https:\/\/www.webteach.tw\/?p=3347","title":{"rendered":"[ Phpmyadmin ] &#8211; \u900f\u904e Phpmyadmin \u4e00\u6b21\u7ba1\u7406\u591a\u53f0\u9060\u7aef\u8cc7\u6599\u5eab"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u9019\u500b\u9700\u6c42\u4e00\u822c\u4f86\u8aaa\u6bd4\u8f03\u5c11\u898b\uff0c\u56e0\u70ba\u9810\u8a2dmysql\u53ea\u5141\u8a31\u60a8\u9023localhost\u7684\u8cc7\u6599\u5eab\uff0c\u6240\u4ee5\u901a\u5e38phpmyadmin\u4e5f\u662f\u7ba1\u7406\u672c\u6a5f\u7684\u8cc7\u6599\u5eab\uff0c\u9019\u6b21\u56e0\u70ba\u5c08\u6848\u9700\u6c42\u8cc7\u6599\u5eab\u62c6\u5206\u4e86\u597d\u5e7e\u53f0\uff0c\u5b89\u5168\u56e0\u7d20\u4e5f\u90fd\u53ea\u9650\u5167\u7db2\u9023\u7dda\uff0c\u6240\u4ee5\u5c0d\u5916\u4e5f\u6c92\u6cd5\u76f4\u63a5\u7528phpmyadmin\uff0c\u9000\u800c\u6c42\u5176\u6b21\u5c31\u662f\u900f\u904e\u67d0\u53f0\u53ef\u5c0d\u5916\u7684ip\u67b6\u8a2dphpmyadmin\u65b9\u4fbf\u7ba1\u7406\u8cc7\u6599\u5eab\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u6307\u4ee4\uff1a<br \/>\nnano \/etc\/phpmyadmin\/config.inc.php<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u5148\u627e\u5230\u8a72\u6587\u4ef6\u7684\u9019\u4e00\u6bb5<\/p>\n\n\n<pre class=\"wp-block-code\"><code>\n\/* Authentication type *\/\n\/\/$cfg&#91;'Servers']&#91;$i]&#91;'auth_type'] = 'cookie';\n\/* Server parameters *\/\n\/\/$cfg&#91;'Servers']&#91;$i]&#91;'host'] = 'localhost';\n\/\/$cfg&#91;'Servers']&#91;$i]&#91;'connect_type'] = 'tcp';\n\/\/$cfg&#91;'Servers']&#91;$i]&#91;'compress'] = false;\n\/* Uncomment the following to enable logging in to passwordless accounts,\n * after taking note of the associated security risks. *\/\n\/\/ $cfg&#91;'Servers']&#91;$i]&#91;'AllowNoPassword'] = TRUE;\n<\/code><\/pre>\n\n\n<p class=\"wp-block-paragraph\">\u4fee\u6539\u6210\u9019\u6a23<br \/><\/p>\n\n\n<pre class=\"wp-block-code\"><code>$i++;\/\/\u9019\u500b\u4e00\u5b9a\u8981\u52a0\u5728\u6700\u524d\u9762\n\/* Authentication type *\/\n$cfg&#91;'Servers']&#91;$i]&#91;'auth_type'] = 'cookie';\n\/* Server parameters *\/\n$cfg&#91;'Servers']&#91;$i]&#91;'host'] = '\u9060\u7aefdb\u9023\u7ddaip';\n$cfg&#91;'Servers']&#91;$i]&#91;'connect_type'] = 'tcp';\n$cfg&#91;'Servers']&#91;$i]&#91;'compress'] = false;\n\/* Uncomment the following to enable logging in to passwordless accounts,\n * after taking note of the associated security risks. *\/\n $cfg&#91;'Servers']&#91;$i]&#91;'AllowNoPassword'] = false;\/\/TRUE\u6539\u6210false<\/code><\/pre>\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u6709\u591a\u7d44\u9060\u7aef\u8cc7\u6599\u5eab\u8981\u7ba1\u7406 \u5c31\u91cd\u8907\u4e0a\u9762\u90a3\u4e00\u6bb5<\/p>\n\n\n<p class=\"wp-block-paragraph\">2020-1-14 \u88dc\u5145<br \/>\u8981\u7ba1\u7406\u7684\u90a3\u53f0\u53ef\u4ee5\u4e0d\u7528\u5b89\u88ddmysql\u4f46\u8981\u5b89\u88ddphp\u3002\u9060\u7aefmysql\u7684\u4f7f\u7528\u8005\u6b0a\u9650\u8981\u8a2d\u5b9a\u597d\u7279\u5225\u662f\u8981\u5141\u8a31\u7ba1\u7406\u90a3\u53f0\u4e3b\u6a5fip\u8981\u8a2d\u5b9a\u624d\u53ef\u9023\u9032\u53bb\u8cc7\u6599\u5eab\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\t\t\t\t\u9019\u500b\u9700\u6c42\u4e00\u822c\u4f86\u8aaa\u6bd4\u8f03\u5c11\u898b\uff0c\u56e0\u70ba\u9810\u8a2dmysql\u53ea\u5141\u8a31\u60a8\u9023localhost\u7684\u8cc7\u6599\u5eab\uff0c\u6240\u4ee5\u901a\u5e38phpmyadmin\u4e5f\u662f\u7ba1\u7406\u672c\u6a5f\u7684\u8cc7\u6599\u5eab\uff0c<br \/>\n\u9019\u6b21\u56e0\u70ba\u5c08\u6848\u9700\u6c42\u8cc7\u6599\u5eab\u62c6\u5206\u4e86\u597d\u5e7e\u53f0\uff0c\u5b89\u5168\u56e0\u7d20\u4e5f\u90fd\u53ea\u9650\u5167\u7db2\u9023\u7dda\uff0c\u6240\u4ee5\u5c0d\u5916\u4e5f\u6c92\u6cd5\u76f4\u63a5\u7528phpmyadmin\uff0c\u9000\u800c\u6c42\u5176\u6b21\u5c31\u662f\u900f\u904e\u67d0\u53f0\u53ef\u5c0d\u5916\u7684ip\u67b6\u8a2dphpmyadmin\u65b9\u4fbf\u7ba1\u7406\u8cc7\u6599\u5eab\u3002\t\t<\/p>\n","protected":false},"author":1,"featured_media":3620,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[402,448,457,1077],"class_list":["post-3347","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mysql","tag-mysql","tag-php","tag-phpmyadmin","tag-1077","hvn-theme-has-thumbnail"],"_links":{"self":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/posts\/3347","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3347"}],"version-history":[{"count":0,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/posts\/3347\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/media\/3620"}],"wp:attachment":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3347"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3347"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}