{"id":16327,"date":"2021-06-17T16:56:49","date_gmt":"2021-06-17T08:56:49","guid":{"rendered":"http:\/\/wh-ns5s8b817mkyu1r97wd.my3w.com\/?p=16327"},"modified":"2023-11-14T14:59:05","modified_gmt":"2023-11-14T06:59:05","slug":"%e7%ac%94%e8%ae%b0%e7%bd%91%e7%ab%99-phpmyadmin-%e6%8f%90%e7%a4%ba%e6%95%b0%e6%8d%ae%e5%ba%93%e6%96%87%e4%bb%b6%e8%bf%87%e5%a4%a7%ef%bc%8c%e6%97%a0%e6%b3%95%e5%af%bc%e5%85%a5%e7%9a%84%e8%a7%a3","status":"publish","type":"post","link":"http:\/\/www.jdcui.com\/?p=16327","title":{"rendered":"[\u7b14\u8bb0][\u7f51\u7ad9] phpMyAdmin \u63d0\u793a\u6570\u636e\u5e93\u6587\u4ef6\u8fc7\u5927\uff0c\u65e0\u6cd5\u5bfc\u5165\u7684\u89e3\u51b3\u529e\u6cd5"},"content":{"rendered":"<p><span style=\"color: #ff00ff; background-color: #ccffcc;\"><strong>\u5b9e\u5e72\u3001\u5b9e\u8df5\u3001\u79ef\u7d2f\u3001\u601d\u8003\u3001\u521b\u65b0\u3002<\/strong><\/span><\/p>\n<hr \/>\n<p>phpMyAdmin\u5bfc\u5165\u6570\u636e\u5e93\uff0c\u9ed8\u8ba4\u53ea\u652f\u6301128M\uff0c\u6570\u636e\u5e93\u6587\u4ef6\u518d\u5927\u65e0\u6cd5\u5bfc\u5165\u3002<\/p>\n<p>\u89e3\u51b3\u529e\u6cd5\u6765\u81ea\u5e2e\u52a9\u6587\u6863\uff1a<\/p>\n<p>\uff081\uff09Starting with version 2.7.0, the import engine has been re\u2013written and these problems should not occur. If possible, upgrade your phpMyAdmin to the latest version to take advantage of the new import features.<\/p>\n<p>The first things to check (or ask your host provider to check) are the values of\u00a0<tt class=\"docutils literal\"><span class=\"pre\">upload_max_filesize<\/span><\/tt>,\u00a0<tt class=\"docutils literal\"><span class=\"pre\">memory_limit<\/span><\/tt>\u00a0and\u00a0<tt class=\"docutils literal\"><span class=\"pre\">post_max_size<\/span><\/tt>\u00a0in the\u00a0<tt class=\"file docutils literal\"><span class=\"pre\">php.ini<\/span><\/tt>\u00a0configuration file. All of these three settings limit the maximum size of data that can be submitted and handled by PHP. One user also said that\u00a0<tt class=\"docutils literal\"><span class=\"pre\">post_max_size<\/span><\/tt>\u00a0and\u00a0<tt class=\"docutils literal\"><span class=\"pre\">memory_limit<\/span><\/tt>\u00a0need to be larger than\u00a0<tt class=\"docutils literal\"><span class=\"pre\">upload_max_filesize<\/span><\/tt>. There exist several workarounds if your upload is too big or your hosting provider is unwilling to change the settings:<\/p>\n<p>\uff08PS. \u66f4\u65b0\u4e86\u8fd9\u51e0\u4e2a\u53c2\u6570\u4f9d\u7136\u65e0\u6cd5\u89e3\u51b3\u3002\uff09<\/p>\n<p>\uff082\uff09Look at the\u00a0<span id=\"index-2\" class=\"target\"><\/span><a class=\"reference internal\" href=\"http:\/\/localhost\/phpmyadmin\/doc\/html\/config.html#cfg_UploadDir\"><tt class=\"xref config config-option docutils literal\"><span class=\"pre\">$cfg['UploadDir']<\/span><\/tt><\/a>\u00a0feature. This allows one to upload a file to the server via scp, ftp, or your favorite file transfer method. PhpMyAdmin is then able to import the files from the temporary directory. More information is available in the\u00a0<a class=\"reference internal\" href=\"http:\/\/localhost\/phpmyadmin\/doc\/html\/config.html#config\"><em>Configuration<\/em><\/a>\u00a0of this document.<\/p>\n<p>\uff08\u6700\u540e\u901a\u8fc7\u8fd9\u6761\u89e3\u51b3\u3002\uff09<\/p>\n<p>\uff083\uff09Using a utility (such as\u00a0<a class=\"reference external\" href=\"http:\/\/www.ozerov.de\/bigdump.php\">BigDump<\/a>) to split the files before uploading. We cannot support this or any third party applications, but are aware of users having success with it.<\/p>\n<p class=\"first\">\uff084\uff09If you have shell (command line) access, use MySQL to import the files directly. You can do this by issuing the \u201csource\u201d command from within MySQL:<\/p>\n<div class=\"highlight-mysql\">\n<div class=\"highlight\">\n<p><code><span class=\"n\">source<\/span> <span class=\"n\">filename<\/span><span class=\"p\">.<\/span><span class=\"k\">sql<\/span><\/code><span class=\"p\"><code>;<\/code><\/span><\/p>\n<ul style=\"list-style-type: square;\">\n<li style=\"text-align: left;\"><span style=\"color: #000000;\"><strong>\u5fae\u4fe1\u516c\u4f17\u53f7\u00a0( Wechat\u00a0Subscription)<\/strong><\/span><\/li>\n<\/ul>\n<p><a href=\"http:\/\/www.jdcui.com\/wp-content\/uploads\/2017\/01\/QRCODE.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3636\" src=\"http:\/\/www.jdcui.com\/wp-content\/uploads\/2017\/01\/QRCODE.jpg\" alt=\"WeChat_QRCode\" width=\"250\" height=\"255\" \/><\/a><\/p>\n<p style=\"text-align: center;\"><strong>\u6b22\u8fce\u5173\u6ce8\u00a0\u201c<span style=\"color: #ff00ff;\">\u7ed3\u6784\u4e4b\u65c5<\/span>\u201d\u00a0\u5fae\u4fe1\u516c\u4f17\u53f7<\/strong><\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5b9e\u5e72\u3001\u5b9e\u8df5\u3001\u79ef\u7d2f\u3001\u601d\u8003\u3001\u521b\u65b0\u3002 phpMyAdmin\u5bfc\u5165\u6570\u636e\u5e93\uff0c\u9ed8\u8ba4\u53ea\u652f\u6301128M\uff0c\u6570\u636e\u5e93\u6587\u4ef6\u518d\u5927\u65e0\u6cd5\u5bfc\u5165\u3002 \u89e3\u51b3\u529e\u6cd5\u6765\u81ea\u5e2e\u52a9\u6587\u6863\uff1a \uff081\uff09Starting with version 2.7.0, the import engine has been re\u2013written and these problems should not occur. If possible, upgrade your phpMyAdmin to the latest version to take &#8230;<\/p>\n","protected":false},"author":1,"featured_media":16328,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[609],"tags":[3080,3079,3081,1183,1450,2402,3016],"class_list":["post-16327","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer-technology","tag-linux","tag-phpmyadmin","tag-3081","tag-1183","tag-1450","tag-2402","tag-3016"],"aioseo_notices":[],"views":1788,"_links":{"self":[{"href":"http:\/\/www.jdcui.com\/index.php?rest_route=\/wp\/v2\/posts\/16327","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.jdcui.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jdcui.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jdcui.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jdcui.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16327"}],"version-history":[{"count":0,"href":"http:\/\/www.jdcui.com\/index.php?rest_route=\/wp\/v2\/posts\/16327\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.jdcui.com\/index.php?rest_route=\/wp\/v2\/media\/16328"}],"wp:attachment":[{"href":"http:\/\/www.jdcui.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16327"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jdcui.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16327"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jdcui.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}