{"id":285,"date":"2019-02-22T11:58:23","date_gmt":"2019-02-22T03:58:23","guid":{"rendered":"http:\/\/fengyuwuzu.cn\/?p=285"},"modified":"2019-03-13T17:50:38","modified_gmt":"2019-03-13T09:50:38","slug":"%e9%98%b2%e6%ad%a2mysql%e6%b3%a8%e5%85%a5%e9%98%b2%e6%ad%a2mysql%e6%b3%a8%e5%85%a5%e7%9a%84%e5%87%a0%e4%b8%aa%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/fengyuwuzu.cn\/?p=285","title":{"rendered":"\u9632\u6b62sql\u6ce8\u5165\u7684\u51e0\u4e2a\u65b9\u6cd5"},"content":{"rendered":"<p>\u4e00\u3001SQL\u6ce8\u5165\u7b80\u4ecb<br \/>\nSQL\u6ce8\u5165\u662f\u6bd4\u8f83\u5e38\u89c1\u7684\u7f51\u7edc\u653b\u51fb\u65b9\u5f0f\u4e4b\u4e00\uff0c\u5b83\u4e0d\u662f\u5229\u7528\u64cd\u4f5c\u7cfb\u7edf\u7684BUG\u6765\u5b9e\u73b0\u653b\u51fb\uff0c\u800c\u662f\u9488\u5bf9\u7a0b\u5e8f\u5458\u7f16\u7a0b\u65f6\u7684\u758f\u5ffd\uff0c\u901a\u8fc7SQL\u8bed\u53e5\uff0c\u5b9e\u73b0\u65e0\u5e10\u53f7\u767b\u5f55\uff0c\u751a\u81f3\u7be1\u6539\u6570\u636e\u5e93\u3002<\/p>\n<p>\u4e8c\u3001SQL\u6ce8\u5165\u653b\u51fb\u7684\u603b\u4f53\u601d\u8def<br \/>\n1.\u5bfb\u627e\u5230SQL\u6ce8\u5165\u7684\u4f4d\u7f6e<br \/>\n2.\u5224\u65ad\u670d\u52a1\u5668\u7c7b\u578b\u548c\u540e\u53f0\u6570\u636e\u5e93\u7c7b\u578b<br \/>\n3.\u9488\u5bf9\u4e0d\u901a\u7684\u670d\u52a1\u5668\u548c\u6570\u636e\u5e93\u7279\u70b9\u8fdb\u884cSQL\u6ce8\u5165\u653b\u51fb<\/p>\n<p>\u4e09\u3001SQL\u6ce8\u5165\u653b\u51fb\u5b9e\u4f8b<br \/>\n\u6bd4\u5982\u5728\u4e00\u4e2a\u767b\u5f55\u754c\u9762\uff0c\u8981\u6c42\u8f93\u5165\u7528\u6237\u540d\u548c\u5bc6\u7801\uff1a<br \/>\n\u53ef\u4ee5\u8fd9\u6837\u8f93\u5165\u5b9e\u73b0\u514d\u5e10\u53f7\u767b\u5f55\uff1a<br \/>\n\u7528\u6237\u540d\uff1a \u2018or 1 = 1 \u2013<br \/>\n\u5bc6 \u7801\uff1a<br \/>\n\u70b9\u767b\u9646,\u5982\u82e5\u6ca1\u6709\u505a\u7279\u6b8a\u5904\u7406,\u90a3\u4e48\u8fd9\u4e2a\u975e\u6cd5\u7528\u6237\u5c31\u5f88\u5f97\u610f\u7684\u767b\u9646\u8fdb\u53bb\u4e86.(\u5f53\u7136\u73b0\u5728\u7684\u6709\u4e9b\u8bed\u8a00\u7684\u6570\u636e\u5e93API\u5df2\u7ecf\u5904\u7406\u4e86\u8fd9\u4e9b\u95ee\u9898)<br \/>\n\u8fd9\u662f\u4e3a\u4ec0\u4e48\u5462? \u4e0b\u9762\u6211\u4eec\u5206\u6790\u4e00\u4e0b\uff1a<br \/>\n\u4ece\u7406\u8bba\u4e0a\u8bf4\uff0c\u540e\u53f0\u8ba4\u8bc1\u7a0b\u5e8f\u4e2d\u4f1a\u6709\u5982\u4e0b\u7684SQL\u8bed\u53e5\uff1a<br \/>\nString sql = \"select * from user_table where username=<br \/>\n' \"+userName+\" ' and password=' \"+password+\" '\";<br \/>\n\u5f53\u8f93\u5165\u4e86\u4e0a\u9762\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\uff0c\u4e0a\u9762\u7684SQL\u8bed\u53e5\u53d8\u6210\uff1a<br \/>\nSELECT * FROM user_table WHERE username=<br \/>\n'\u2019or 1 = 1 -- and password='\u2019<br \/>\n\u5206\u6790SQL\u8bed\u53e5\uff1a<br \/>\n\u6761\u4ef6\u540e\u9762username=\u201dor 1=1 \u7528\u6237\u540d\u7b49\u4e8e \u201d \u62161=1 \u90a3\u4e48\u8fd9\u4e2a\u6761\u4ef6\u4e00\u5b9a\u4f1a\u6210\u529f\uff1b<br \/>\n\u7136\u540e\u540e\u9762\u52a0\u4e24\u4e2a-\uff0c\u8fd9\u610f\u5473\u7740\u6ce8\u91ca\uff0c\u5b83\u5c06\u540e\u9762\u7684\u8bed\u53e5\u6ce8\u91ca\uff0c\u8ba9\u4ed6\u4eec\u4e0d\u8d77\u4f5c\u7528\uff0c\u8fd9\u6837\u8bed\u53e5\u6c38\u8fdc\u90fd\u80fd\u6b63\u786e\u6267\u884c\uff0c\u7528\u6237\u8f7b\u6613\u9a97\u8fc7\u7cfb\u7edf\uff0c\u83b7\u53d6\u5408\u6cd5\u8eab\u4efd\u3002<br \/>\n\u8fd9\u8fd8\u662f\u6bd4\u8f83\u6e29\u67d4\u7684\uff0c\u5982\u679c\u662f\u6267\u884c<br \/>\nSELECT * FROM user_table WHERE<br \/>\nusername='' ;DROP DATABASE (DB Name) --' and password=''<br \/>\n\u2026.\u5176\u540e\u679c\u53ef\u60f3\u800c\u77e5\u2026<\/p>\n<p><strong>\u56db\u3001\u5e94\u5bf9\u65b9\u6cd5<\/strong><\/p>\n<p>\u4e0b\u9762\u6211\u9488\u5bf9JSP\uff0c\u8bf4\u4e00\u4e0b\u5e94\u5bf9\u65b9\u6cd5\uff1a<\/p>\n<p><strong>1.\uff08\u7b80\u5355\u53c8\u6709\u6548\u7684\u65b9\u6cd5\uff09PreparedStatement<\/strong><\/p>\n<p>\u91c7\u7528\u9884\u7f16\u8bd1\u8bed\u53e5\u96c6\uff0c\u5b83\u5185\u7f6e\u4e86\u5904\u7406SQL\u6ce8\u5165\u7684\u80fd\u529b\uff0c\u53ea\u8981\u4f7f\u7528\u5b83\u7684setXXX\u65b9\u6cd5\u4f20\u503c\u5373\u53ef\u3002<\/p>\n<p>\u4f7f\u7528\u597d\u5904\uff1a<\/p>\n<p>(1).\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u53ef\u7ef4\u62a4\u6027.<\/p>\n<p>(2).PreparedStatement\u5c3d\u6700\u5927\u53ef\u80fd\u63d0\u9ad8\u6027\u80fd.<\/p>\n<p>(3).\u6700\u91cd\u8981\u7684\u4e00\u70b9\u662f\u6781\u5927\u5730\u63d0\u9ad8\u4e86\u5b89\u5168\u6027.<\/p>\n<p>\u539f\u7406\uff1a<\/p>\n<p>sql\u6ce8\u5165\u53ea\u5bf9sql\u8bed\u53e5\u7684\u51c6\u5907(\u7f16\u8bd1)\u8fc7\u7a0b\u6709\u7834\u574f\u4f5c\u7528<\/p>\n<p>\u800cPreparedStatement\u5df2\u7ecf\u51c6\u5907\u597d\u4e86,\u6267\u884c\u9636\u6bb5\u53ea\u662f\u628a\u8f93\u5165\u4e32\u4f5c\u4e3a\u6570\u636e\u5904\u7406,<\/p>\n<p>\u800c\u4e0d\u518d\u5bf9sql\u8bed\u53e5\u8fdb\u884c\u89e3\u6790,\u51c6\u5907,\u56e0\u6b64\u4e5f\u5c31\u907f\u514d\u4e86sql\u6ce8\u5165\u95ee\u9898.<\/p>\n<p><strong>2.\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u8fc7\u6ee4\u4f20\u5165\u7684\u53c2\u6570<\/strong><\/p>\n<p>\u8981\u5f15\u5165\u7684\u5305\uff1a<\/p>\n<p>import java.util.regex.*;<\/p>\n<p>\u6b63\u5219\u8868\u8fbe\u5f0f\uff1a<\/p>\n<p>private String CHECKSQL = \u201c^(.+)\\\\sand\\\\s(.+)|(.+)\\\\sor(.+)\\\\s$\u201d;<\/p>\n<p>\u5224\u65ad\u662f\u5426\u5339\u914d\uff1a<\/p>\n<p>Pattern.matches(CHECKSQL,targerStr);<\/p>\n<p>\u4e0b\u9762\u662f\u5177\u4f53\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\uff1a<\/p>\n<p>\u68c0\u6d4bSQL meta-characters\u7684\u6b63\u5219\u8868\u8fbe\u5f0f \uff1a<\/p>\n<p>\/(\\%27)|(\\\u2019)|(\\-\\-)|(\\%23)|(#)\/ix<\/p>\n<p>\u4fee\u6b63\u68c0\u6d4bSQL meta-characters\u7684\u6b63\u5219\u8868\u8fbe\u5f0f \uff1a\/((\\%3D)|(=))[^\\n]*((\\%27)|(\\\u2019)|(\\-\\-)|(\\%3B)|(:))\/i<\/p>\n<p>\u5178\u578b\u7684SQL \u6ce8\u5165\u653b\u51fb\u7684\u6b63\u5219\u8868\u8fbe\u5f0f \uff1a\/\\w*((\\%27)|(\\\u2019))((\\%6F)|o|(\\%4F))((\\%72)|r|(\\%52))\/ix<\/p>\n<p>\u68c0\u6d4bSQL\u6ce8\u5165\uff0cUNION\u67e5\u8be2\u5173\u952e\u5b57\u7684\u6b63\u5219\u8868\u8fbe\u5f0f \uff1a\/((\\%27)|(\\\u2019))union\/ix(\\%27)|(\\\u2019)<\/p>\n<p>\u68c0\u6d4bMS SQL Server SQL\u6ce8\u5165\u653b\u51fb\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\uff1a<\/p>\n<p>\/exec(\\s|\\+)+(s|x)p\\w+\/ix<\/p>\n<p>\u7b49\u7b49\u2026..<\/p>\n<p><strong>3.\u5b57\u7b26\u4e32\u8fc7\u6ee4<\/strong><\/p>\n<p>\u6bd4\u8f83\u901a\u7528\u7684\u4e00\u4e2a\u65b9\u6cd5\uff1a<\/p>\n<p>\uff08||\u4e4b\u95f4\u7684\u53c2\u6570\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7a0b\u5e8f\u7684\u9700\u8981\u6dfb\u52a0\uff09<\/p>\n<p>public static boolean sql_inj(String str){<\/p>\n<p>String inj_str = \"'|and|exec|insert|select|delete|update|<\/p>\n<p>count|*|%|chr|mid|master|truncate|char|declare|;|or|-|+|,\";<\/p>\n<p>String inj_stra[] = split(inj_str,\"|\");<\/p>\n<p>for (int i=0 ; i &amp;lt; inj_stra.length ; i++ ){<\/p>\n<p>if (str.indexOf(inj_stra[i])&amp;gt;=0){<\/p>\n<p>return true;<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>return false;<\/p>\n<p>}<\/p>\n<p><strong>4.jsp\u4e2d\u8c03\u7528\u8be5\u51fd\u6570\u68c0\u67e5\u662f\u5426\u5305\u51fd\u975e\u6cd5\u5b57\u7b26<\/strong><\/p>\n<p>\u9632\u6b62SQL\u4eceURL\u6ce8\u5165\uff1a<\/p>\n<p>sql_inj.java\u4ee3\u7801\uff1a<\/p>\n<p>package sql_inj;<\/p>\n<p>import java.net.*;<\/p>\n<p>import java.io.*;<\/p>\n<p>import java.sql.*;<\/p>\n<p>import java.text.*;<\/p>\n<p>import java.lang.String;<\/p>\n<p>public class sql_inj{<\/p>\n<p>public static boolean sql_inj(String str){<\/p>\n<p>String inj_str = \"'|and|exec|insert|select|delete|update|<\/p>\n<p>count|*|%|chr|mid|master|truncate|char|declare|;|or|-|+|,\";<\/p>\n<p>\/\/\u8fd9\u91cc\u7684\u4e1c\u897f\u8fd8\u53ef\u4ee5\u81ea\u5df1\u6dfb\u52a0<\/p>\n<p>String[] inj_stra=inj_str.split(\"\\\\|\");<\/p>\n<p>for (int i=0 ; i &amp;lt; inj_stra.length ; i++ ){<\/p>\n<p>if (str.indexOf(inj_stra[i])&amp;gt;=0){<\/p>\n<p>return true;<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>return false;<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p><strong>5.JSP\u9875\u9762\u5224\u65ad\u4ee3\u7801\uff1a<\/strong><\/p>\n<p>\u4f7f\u7528javascript\u5728\u5ba2\u6237\u7aef\u8fdb\u884c\u4e0d\u5b89\u5168\u5b57\u7b26\u5c4f\u853d<\/p>\n<p>\u529f\u80fd\u4ecb\u7ecd\uff1a\u68c0\u67e5\u662f\u5426\u542b\u6709\u201d\u2018\u201d,\u201d\\\\\u201d,\u201d\/\u201d<\/p>\n<p>\u53c2\u6570\u8bf4\u660e\uff1a\u8981\u68c0\u67e5\u7684\u5b57\u7b26\u4e32<\/p>\n<p>\u8fd4\u56de\u503c\uff1a0\uff1a\u662f1\uff1a\u4e0d\u662f<\/p>\n<p>\u51fd\u6570\u540d\u662f<\/p>\n<p>function check(a){<\/p>\n<p>return 1;<\/p>\n<p>fibdn = new Array (\u201d\u2018\u201d ,\u201d\\\\\u201d,\u201d\/\u201d);<\/p>\n<p>i=fibdn.length;<\/p>\n<p>j=a.length;<\/p>\n<p>for (ii=0; ii\uff1ci; ii++)<\/p>\n<p>{ for (jj=0; jj\uff1cj; jj++)<\/p>\n<p>{ temp1=a.charAt(jj);<\/p>\n<p>temp2=fibdn[ii];<\/p>\n<p>if (tem\u2019; p1==temp2)<\/p>\n<p>{ return 0; }<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>return 1;<\/p>\n<p>}<\/p>\n<p>===================================<\/p>\n<p>\u603b\u7684\u8bf4\u6765\uff0c\u9632\u8303\u4e00\u822c\u7684SQL\u6ce8\u5165\u53ea\u8981\u5728\u4ee3\u7801\u89c4\u8303\u4e0a\u4e0b\u70b9\u529f\u592b\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<p>\u51e1\u6d89\u53ca\u5230\u6267\u884c\u7684SQL\u4e2d\u6709\u53d8\u91cf\u65f6\uff0c\u7528JDBC\uff08\u6216\u8005\u5176\u4ed6\u6570\u636e\u6301\u4e45\u5c42\uff09\u63d0\u4f9b\u7684\u5982\uff1aPreparedStatement\u5c31\u53ef\u4ee5 \uff0c\u5207\u8bb0\u4e0d\u8981\u7528\u62fc\u63a5\u5b57\u7b26\u4e32\u7684\u65b9\u6cd5\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001SQL\u6ce8\u5165\u7b80\u4ecb SQL\u6ce8\u5165\u662f\u6bd4\u8f83\u5e38\u89c1\u7684\u7f51\u7edc\u653b\u51fb\u65b9\u5f0f\u4e4b\u4e00\uff0c\u5b83\u4e0d\u662f\u5229\u7528\u64cd\u4f5c\u7cfb\u7edf\u7684BUG\u6765\u5b9e\u73b0\u653b\u51fb\uff0c\u800c\u662f\u9488\u5bf9\u7a0b\u5e8f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,1],"tags":[13],"class_list":["post-285","post","type-post","status-publish","format-standard","hentry","category-mysql","category-news","tag-mysql"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u9632\u6b62sql\u6ce8\u5165\u7684\u51e0\u4e2a\u65b9\u6cd5 | \u98ce\u96e8\u65e0\u963bblog \u9632\u6b62mysql\u6ce8\u5165\u7684\u51e0\u4e2a\u65b9\u6cd5<\/title>\n<meta name=\"description\" content=\"\u9632\u6b62mysql\u6ce8\u5165,\u9632\u6b62mysql\u6ce8\u5165\u7684\u51e0\u4e2a\u65b9\u6cd5,mysql\u6ce8\u5165\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fengyuwuzu.cn\/?p=285\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u9632\u6b62sql\u6ce8\u5165\u7684\u51e0\u4e2a\u65b9\u6cd5 | \u98ce\u96e8\u65e0\u963bblog \u9632\u6b62mysql\u6ce8\u5165\u7684\u51e0\u4e2a\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"\u9632\u6b62mysql\u6ce8\u5165,\u9632\u6b62mysql\u6ce8\u5165\u7684\u51e0\u4e2a\u65b9\u6cd5,mysql\u6ce8\u5165\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fengyuwuzu.cn\/?p=285\" \/>\n<meta property=\"og:site_name\" content=\"\u98ce\u96e8\u65e0\u963bblog\" \/>\n<meta property=\"article:published_time\" content=\"2019-02-22T03:58:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-03-13T09:50:38+00:00\" \/>\n<meta name=\"author\" content=\"\u98ce\u96e8\u65e0\u963b\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u98ce\u96e8\u65e0\u963b\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fengyuwuzu.cn\/?p=285\",\"url\":\"https:\/\/fengyuwuzu.cn\/?p=285\",\"name\":\"\u9632\u6b62sql\u6ce8\u5165\u7684\u51e0\u4e2a\u65b9\u6cd5 | \u98ce\u96e8\u65e0\u963bblog \u9632\u6b62mysql\u6ce8\u5165\u7684\u51e0\u4e2a\u65b9\u6cd5\",\"isPartOf\":{\"@id\":\"https:\/\/fengyuwuzu.cn\/#website\"},\"datePublished\":\"2019-02-22T03:58:23+00:00\",\"dateModified\":\"2019-03-13T09:50:38+00:00\",\"author\":{\"@id\":\"https:\/\/fengyuwuzu.cn\/#\/schema\/person\/34cd01f899e76e2afadb37539a184c9f\"},\"description\":\"\u9632\u6b62mysql\u6ce8\u5165,\u9632\u6b62mysql\u6ce8\u5165\u7684\u51e0\u4e2a\u65b9\u6cd5,mysql\u6ce8\u5165\",\"breadcrumb\":{\"@id\":\"https:\/\/fengyuwuzu.cn\/?p=285#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fengyuwuzu.cn\/?p=285\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fengyuwuzu.cn\/?p=285#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/fengyuwuzu.cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u9632\u6b62sql\u6ce8\u5165\u7684\u51e0\u4e2a\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fengyuwuzu.cn\/#website\",\"url\":\"https:\/\/fengyuwuzu.cn\/\",\"name\":\"\u98ce\u96e8\u65e0\u963b\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fengyuwuzu.cn\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-CN\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/fengyuwuzu.cn\/#\/schema\/person\/34cd01f899e76e2afadb37539a184c9f\",\"name\":\"\u98ce\u96e8\u65e0\u963b\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\/\/fengyuwuzu.cn\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/68e14230863f4533c3453c3dbd7675e7620bfe2f24de6f40d8089dd5ad6a419b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/68e14230863f4533c3453c3dbd7675e7620bfe2f24de6f40d8089dd5ad6a419b?s=96&d=mm&r=g\",\"caption\":\"\u98ce\u96e8\u65e0\u963b\"},\"description\":\"\u4e00\u4e2aWEB\u5f00\u53d1\u5de5\u7a0b\u5e08\uff01\u76ee\u524d\u6b63\u5728\u6df1\u5733\u67d0\u516c\u53f8\u4efb\u804c\uff01\",\"sameAs\":[\"http:\/\/fengyuwuzu.cn.com\"],\"url\":\"https:\/\/fengyuwuzu.cn\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u9632\u6b62sql\u6ce8\u5165\u7684\u51e0\u4e2a\u65b9\u6cd5 | \u98ce\u96e8\u65e0\u963bblog \u9632\u6b62mysql\u6ce8\u5165\u7684\u51e0\u4e2a\u65b9\u6cd5","description":"\u9632\u6b62mysql\u6ce8\u5165,\u9632\u6b62mysql\u6ce8\u5165\u7684\u51e0\u4e2a\u65b9\u6cd5,mysql\u6ce8\u5165","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fengyuwuzu.cn\/?p=285","og_locale":"zh_CN","og_type":"article","og_title":"\u9632\u6b62sql\u6ce8\u5165\u7684\u51e0\u4e2a\u65b9\u6cd5 | \u98ce\u96e8\u65e0\u963bblog \u9632\u6b62mysql\u6ce8\u5165\u7684\u51e0\u4e2a\u65b9\u6cd5","og_description":"\u9632\u6b62mysql\u6ce8\u5165,\u9632\u6b62mysql\u6ce8\u5165\u7684\u51e0\u4e2a\u65b9\u6cd5,mysql\u6ce8\u5165","og_url":"https:\/\/fengyuwuzu.cn\/?p=285","og_site_name":"\u98ce\u96e8\u65e0\u963bblog","article_published_time":"2019-02-22T03:58:23+00:00","article_modified_time":"2019-03-13T09:50:38+00:00","author":"\u98ce\u96e8\u65e0\u963b","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u98ce\u96e8\u65e0\u963b","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/fengyuwuzu.cn\/?p=285","url":"https:\/\/fengyuwuzu.cn\/?p=285","name":"\u9632\u6b62sql\u6ce8\u5165\u7684\u51e0\u4e2a\u65b9\u6cd5 | \u98ce\u96e8\u65e0\u963bblog \u9632\u6b62mysql\u6ce8\u5165\u7684\u51e0\u4e2a\u65b9\u6cd5","isPartOf":{"@id":"https:\/\/fengyuwuzu.cn\/#website"},"datePublished":"2019-02-22T03:58:23+00:00","dateModified":"2019-03-13T09:50:38+00:00","author":{"@id":"https:\/\/fengyuwuzu.cn\/#\/schema\/person\/34cd01f899e76e2afadb37539a184c9f"},"description":"\u9632\u6b62mysql\u6ce8\u5165,\u9632\u6b62mysql\u6ce8\u5165\u7684\u51e0\u4e2a\u65b9\u6cd5,mysql\u6ce8\u5165","breadcrumb":{"@id":"https:\/\/fengyuwuzu.cn\/?p=285#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fengyuwuzu.cn\/?p=285"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fengyuwuzu.cn\/?p=285#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/fengyuwuzu.cn\/"},{"@type":"ListItem","position":2,"name":"\u9632\u6b62sql\u6ce8\u5165\u7684\u51e0\u4e2a\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/fengyuwuzu.cn\/#website","url":"https:\/\/fengyuwuzu.cn\/","name":"\u98ce\u96e8\u65e0\u963b","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fengyuwuzu.cn\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-CN"},{"@type":"Person","@id":"https:\/\/fengyuwuzu.cn\/#\/schema\/person\/34cd01f899e76e2afadb37539a184c9f","name":"\u98ce\u96e8\u65e0\u963b","image":{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/fengyuwuzu.cn\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/68e14230863f4533c3453c3dbd7675e7620bfe2f24de6f40d8089dd5ad6a419b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/68e14230863f4533c3453c3dbd7675e7620bfe2f24de6f40d8089dd5ad6a419b?s=96&d=mm&r=g","caption":"\u98ce\u96e8\u65e0\u963b"},"description":"\u4e00\u4e2aWEB\u5f00\u53d1\u5de5\u7a0b\u5e08\uff01\u76ee\u524d\u6b63\u5728\u6df1\u5733\u67d0\u516c\u53f8\u4efb\u804c\uff01","sameAs":["http:\/\/fengyuwuzu.cn.com"],"url":"https:\/\/fengyuwuzu.cn\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/fengyuwuzu.cn\/index.php?rest_route=\/wp\/v2\/posts\/285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fengyuwuzu.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fengyuwuzu.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fengyuwuzu.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fengyuwuzu.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=285"}],"version-history":[{"count":4,"href":"https:\/\/fengyuwuzu.cn\/index.php?rest_route=\/wp\/v2\/posts\/285\/revisions"}],"predecessor-version":[{"id":395,"href":"https:\/\/fengyuwuzu.cn\/index.php?rest_route=\/wp\/v2\/posts\/285\/revisions\/395"}],"wp:attachment":[{"href":"https:\/\/fengyuwuzu.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fengyuwuzu.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fengyuwuzu.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}