{"id":93,"date":"2019-07-24T00:50:00","date_gmt":"2019-07-24T00:50:00","guid":{"rendered":"http:\/\/pro369.com\/php\/?p=93"},"modified":"2019-07-24T00:50:00","modified_gmt":"2019-07-24T00:50:00","slug":"mysql%e8%b3%87%e6%96%99%e5%ba%ab%e4%b8%ad%e5%ad%97%e7%ac%a6%e6%9b%bf%e6%8f%9b%ef%bc%88%e4%bd%bf%e7%94%a8phpmyadmin%e9%80%b2%e5%85%a5%e8%b3%87%e6%96%99%e5%ba%ab%e5%9f%b7%e8%a1%8csql%e8%aa%9e%e6%b3%95e","status":"publish","type":"post","link":"https:\/\/por.tw\/php\/mysql%e8%b3%87%e6%96%99%e5%ba%ab%e4%b8%ad%e5%ad%97%e7%ac%a6%e6%9b%bf%e6%8f%9b%ef%bc%88%e4%bd%bf%e7%94%a8phpmyadmin%e9%80%b2%e5%85%a5%e8%b3%87%e6%96%99%e5%ba%ab%e5%9f%b7%e8%a1%8csql%e8%aa%9e%e6%b3%95e\/","title":{"rendered":"Mysql\u8cc7\u6599\u5eab\u4e2d\u5b57\u7b26\u66ff\u63db\uff08\u4f7f\u7528phpMyAdmin\u9032\u5165\u8cc7\u6599\u5eab\u57f7\u884cSQL\u8a9e\u6cd5\uff09"},"content":{"rendered":"<p><font size=\"4\" color=\"#800080\"><strong>\u4f60\u6709\u6c92\u6709\u60f3\u8981\u5c07Mysql\u8cc7\u6599\u5eab\u4e2d\u5b57\u7b26\u66ff\u63db\uff1f<\/strong><\/font><\/p>\n<p><font size=\"4\" style=\"background-color: #ffff00\"><strong>\u5982\u4f55\u4f7f\u7528SQL\u8a9e\u6cd5\uff0c\u5c07MySQL\u8cc7\u6599\u8868\u4e2d\u7684\u66ff\u63db\u5b57\u4e32\uff1f<\/strong><\/font><\/p>\n<p> <font size=\"3\"><strong>\u4f60\u6709\u9019\u6a23\u7684\u82e6\u60f1\u554f\u984c\u55ce\uff1f<br \/> \u7576\u4ee5SQL\u70ba\u8cc7\u6599\u5eab\u7684\u7db2\u7ad9\u5167\u6709\u5927\u91cf\u7684\u6587\u5b57\u8981\u4fee\u6539\u66ff\u63db\u6642\uff0c\u6700\u967d\u6625\u7684\u65b9\u6cd5\u5c31\u662f\u4e00\u7b46\u4e00\u7b46\u7684\u4fee\u6539<font color=\"#ff0000\">\uff08\u90a3\u4e0d\u662f\u8981\u51fa\u4eba\u547d\uff1f\uff09<\/font><br \/> \u53ef\u662f\u5982\u679c\u9700\u4fee\u6539\u7684\u6578\u91cf\u9f90\u5927\uff0c\u90a3\u9ebc\u53ef\u80fd\u5c31\u6703\u4fee\u6539\u5230\u6688\u5012\u4e86<font color=\"#ff00ff\">\uff08\u81f3\u5c11\u6703\u7d2f\u5012\u9032\u91ab\u9662\u540a\u9ede\u6ef4&#8230;\uff09<\/font><br \/> <font color=\"#0000ff\">\u6700\u5feb\u7684\u65b9\u6cd5\u5c31\u662f\u5229\u7528SQL\u8a9e\u6cd5\u66ff\u63db\u5b57\u4e32\uff1a<\/font><\/strong><\/font><br \/> <font size=\"3\"><strong><br \/> \u4f60\u53ef\u4ee5\u7528\u4ee5\u4e0b\u7684\u65b9\u6cd5\uff08\u5feb\u901f\u7684\u628a\u5b57\u4e32\u522a\u9664\u6216\u63db\u6389\uff01\uff09<\/strong><\/font><\/p>\n<p> <font color=\"#008000\"><strong>phpMyAdmin \u66ff\u63db\u8cc7\u6599\u5b57\u4e32\uff08\u4f7f\u7528phpMyAdmin\u9032\u5165\u8cc7\u6599\u5eab\u57f7\u884cSQL\u8a9e\u6cd5\uff09<\/strong><\/font><br \/> <font color=\"#ff0000\"><strong>\u57fa\u672c\u7684\u8a9e\u6cd5\u7bc4\u4f8b\u5982\u4e0b\uff1a<\/strong><\/font><br \/> UPDATE `<font color=\"#ff6600\"><strong>\u8cc7\u6599\u8868\u540d\u7a31<\/strong><\/font>` SET `<font color=\"#008080\"><strong>\u8cc7\u6599\u8868\u6b04\u4f4d<\/strong><\/font>` = REPLACE(`<font color=\"#008080\"><strong>\u8cc7\u6599\u8868\u6b04\u4f4d<\/strong><\/font>`,&#39;<font color=\"#808000\"><strong>\u8981\u66ff\u63db\u7684\u6587\u5b57<\/strong><\/font>&#39;,&#39;<font color=\"#ff00ff\"><strong>\u66ff\u63db\u5f8c\u7684\u6587\u5b57<\/strong><\/font>&#39;) WHERE `<strong><font color=\"#008080\">\u8cc7\u6599\u8868\u6b04\u4f4d<\/font><\/strong>` LIKE &#39;%<font color=\"#808000\"><strong>\u8981\u66ff\u63db\u7684\u6587\u5b57<\/strong><\/font>%&#39;<\/p>\n<p> <font color=\"#800000\"><strong>\u4f8b\u5982\uff1a\u8981\u628alogContent\u6b04\u4f4d\u4e2d\u7684\u300e<font color=\"#ff00ff\">&lt;\/div&gt;<\/font>\u300f\u5b57\u4e32\u522a\u9664\uff01<\/strong><\/font><br \/> UPDATE `f2cont_logs` SET `logContent` = REPLACE(`logContent`,&#39;<font color=\"#ff00ff\">&lt;\/div&gt;<\/font>&#39;,&#39;&#39;) WHERE `logContent` LIKE &#39;%<font color=\"#ff00ff\">&lt;\/div&gt;<\/font>%&#39;<br \/> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p><font size=\"3\" color=\"#800080\"><strong>\u53c8\u4f8b\u5982\uff1a\u8981\u5c07\u7db2\u5740\u300c<font color=\"#008080\">http:\/\/visdacom.com<\/font>\u300d\u63db\u6210\u300c<font color=\"#ff0000\">http:\/\/por.tw<\/font>\u300d\uff01<\/strong><\/font><\/p>\n<p>&nbsp;UPDATE `f2cont_logs` SET `logContent` = REPLACE(`logContent`,&#39;<font size=\"3\" color=\"#800080\"><strong><font color=\"#008080\">http:\/\/visdacom.com<\/font><\/strong><\/font>&#39;,&#39;<font size=\"3\" color=\"#800080\"><strong><font color=\"#ff0000\">http:\/\/por.tw<\/font><\/strong><\/font>&#39;) WHERE `logContent` LIKE &#39;%<font size=\"3\" color=\"#800080\"><strong><font color=\"#008080\">http:\/\/visdacom.com<\/font><\/strong><\/font>%&#39;<br \/> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/> <strong><font size=\"3\" color=\"#ff0000\">\u6ce8\u610f\uff1a<font color=\"#800000\">\u8981\u7df4\u7fd2\u4e4b\u524d\u8acb\u5148\u5099\u4efd\u597d\u8cc7\u6599\u5eab<\/font>\uff0c<font color=\"#008000\">\u4e0d\u7136\u628a\u8cc7\u6599\u5eab\u5f04\u58de\u5566<\/font><font color=\"#800080\">\uff08\u53c8\u6c92\u6709\u5099\u4efd\u6a94\u6848\u53ef\u4ee5\u9084\u539f\u6642\uff09<\/font><br \/> <font color=\"#0000ff\">\u6211\u770b\u4f60\u6703\u7b11\u4e0d\u51fa\u4f86\uff0c\u61ca\u60f1\u4e0d\u5df2\u6376\u80f8\u9813\u8db3\uff01<\/font><\/font><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f60\u6709\u6c92\u6709\u60f3\u8981\u5c07Mysql\u8cc7\u6599\u5eab\u4e2d\u5b57\u7b26\u66ff\u63db\uff1f \u5982\u4f55\u4f7f\u7528SQL\u8a9e\u6cd5\uff0c\u5c07MySQL\u8cc7\u6599\u8868\u4e2d\u7684\u66ff\u63db\u5b57\u4e32\uff1f \u4f60\u6709\u9019\u6a23\u7684\u82e6 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":400,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[19],"class_list":["post-93","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-phpmyadmin","tag-php-mysql-"],"_links":{"self":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/posts\/93"}],"collection":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/comments?post=93"}],"version-history":[{"count":0,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/posts\/93\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/media\/400"}],"wp:attachment":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/media?parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/categories?post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/tags?post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}