{"id":50709,"date":"2025-08-10T11:39:06","date_gmt":"2025-08-10T03:39:06","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/50709.html"},"modified":"2025-08-10T11:39:06","modified_gmt":"2025-08-10T03:39:06","slug":"%e5%b0%86%e7%94%9f%e4%ba%a7%e5%ba%93%e7%9a%84%e6%95%b0%e6%8d%ae%e8%bf%9e%e5%90%8c%e8%a1%a8%e7%bb%93%e6%9e%84%e4%b8%80%e8%b5%b7%e5%a4%8d%e5%88%b6%e5%88%b0%e6%b5%8b%e8%af%95%e5%ba%93%e4%b8%ad","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/50709.html","title":{"rendered":"\u5c06\u751f\u4ea7\u5e93\u7684\u6570\u636e\u8fde\u540c\u8868\u7ed3\u6784\u4e00\u8d77\u590d\u5236\u5230\u6d4b\u8bd5\u5e93\u4e2d"},"content":{"rendered":"<h3>\u2705 \u65b9\u6cd5\u4e00&#xff1a;\u4f7f\u7528 mysqldump \u5de5\u5177&#xff08;\u63a8\u8350&#xff09;<\/h3>\n<p>\u8fd9\u79cd\u65b9\u5f0f\u53ef\u4ee5\u5b8c\u6574\u590d\u5236\u6570\u636e\u5e93\u7ed3\u6784\u548c\u6570\u636e&#xff0c;\u975e\u5e38\u53ef\u9760\u3002<\/p>\n<h4>1. \u4ece\u751f\u4ea7\u5e93\u5bfc\u51fa\u6570\u636e\u548c\u8868\u7ed3\u6784<\/h4>\n<p>\u5728\u7ec8\u7aef\u6267\u884c&#xff1a;<\/p>\n<p>mysqldump -h \u751f\u4ea7\u5e93\u5730\u5740 -u \u7528\u6237\u540d -p \u6570\u636e\u5e93\u540d <span class=\"token operator\">&gt;<\/span> prod_backup.sql<\/p>\n<p>\u4f8b\u5b50&#xff1a;<\/p>\n<p>mysqldump -h <span class=\"token number\">192.168<\/span>.10.100 -u root -p my_database <span class=\"token operator\">&gt;<\/span> prod_backup.sql<\/p>\n<p>\u5b83\u4f1a\u5bfc\u51fa\u6574\u4e2a\u6570\u636e\u5e93\u7684\u5efa\u8868\u8bed\u53e5\u548c\u6570\u636e\u3002<\/p>\n<h4>2. \u5c06 SQL \u6587\u4ef6\u5bfc\u5165\u6d4b\u8bd5\u5e93<\/h4>\n<p>\u4f60\u53ef\u4ee5\u767b\u5f55\u6d4b\u8bd5\u5e93\u6240\u5728\u7684\u670d\u52a1\u5668&#xff0c;\u7136\u540e\u6267\u884c&#xff1a;<\/p>\n<p>mysql -h \u6d4b\u8bd5\u5e93\u5730\u5740 -u \u7528\u6237\u540d -p \u6d4b\u8bd5\u5e93\u540d <span class=\"token operator\">&lt;<\/span> prod_backup.sql<\/p>\n<p>\u4f8b\u5b50&#xff1a;<\/p>\n<p>mysql <span class=\"token operator\">&#8211;<\/span>h <span class=\"token number\">127.0<\/span><span class=\"token number\">.0<\/span><span class=\"token number\">.1<\/span> <span class=\"token operator\">&#8211;<\/span>u root <span class=\"token operator\">&#8211;<\/span>p test_database <span class=\"token operator\">&lt;<\/span> prod_backup<span class=\"token punctuation\">.<\/span><span class=\"token keyword\">sql<\/span><\/p>\n<p>\u5982\u679c test_database \u4e0d\u5b58\u5728&#xff0c;\u4f60\u53ef\u4ee5\u5148\u5efa\u4e00\u4e2a&#xff1a;<\/p>\n<p><span class=\"token keyword\">CREATE<\/span> <span class=\"token keyword\">DATABASE<\/span> test_database <span class=\"token keyword\">CHARACTER<\/span> <span class=\"token keyword\">SET<\/span> utf8mb4 <span class=\"token keyword\">COLLATE<\/span> utf8mb4_unicode_ci<span class=\"token punctuation\">;<\/span><\/p>\n<h3>\u2705 \u65b9\u6cd5\u4e8c&#xff1a;Navicat \u6216 DBeaver \u5de5\u5177\u5bfc\u5165\u5bfc\u51fa<\/h3>\n<p>\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662f\u56fe\u5f62\u5316\u5de5\u5177\u5982 Navicat\u3001DBeaver&#xff0c;\u53ef\u4ee5\u8fd9\u6837\u64cd\u4f5c&#xff1a;<\/p>\n<p>1.\u5728\u751f\u4ea7\u5e93\u4e0a\u53f3\u952e -&gt; \u5bfc\u51fa SQL \u6587\u4ef6&#xff08;\u5305\u542b\u7ed3\u6784\u548c\u6570\u636e&#xff09;<br \/>\n2.\u5728\u6d4b\u8bd5\u5e93\u4e2d\u65b0\u5efa\u6570\u636e\u5e93&#xff08;\u5982\u679c\u6ca1\u6709&#xff09;<br \/>\n3.\u6267\u884c\u5bfc\u5165 SQL \u6587\u4ef6<\/p>\n<h3>\u2705 \u65b9\u6cd5\u4e09&#xff1a;Django \u9879\u76ee\u4e2d\u64cd\u4f5c&#xff08;\u4e0d\u63a8\u8350\u6279\u91cf\u6570\u636e\u590d\u5236&#xff09;<\/h3>\n<p>\u5982\u679c\u4f60\u7528\u7684\u662f Django \u9879\u76ee&#xff0c;\u60f3\u7528\u811a\u672c\u505a\u4e5f\u53ef\u4ee5&#xff0c;\u4f46\u4e0d\u9002\u5408\u7528\u4e8e\u5927\u91cf\u6570\u636e\u548c\u7ed3\u6784\u540c\u6b65&#xff0c;\u4e00\u822c\u53ea\u7528\u4e8e\u5c0f\u91cf\u8868\u6570\u636e\u3002<\/p>\n<h4>\u6ce8\u610f\u4e8b\u9879<\/h4>\n<p>\u64cd\u4f5c\u524d\u5907\u4efd\u6d4b\u8bd5\u5e93&#xff08;\u4ee5\u9632\u8bef\u64cd\u4f5c&#xff09;<\/p>\n<p>\u786e\u8ba4\u6d4b\u8bd5\u5e93\u4e0e\u751f\u4ea7\u5e93\u7684 MySQL \u7248\u672c\u517c\u5bb9<\/p>\n<p>\u786e\u4fdd\u76ee\u6807\u6570\u636e\u5e93\u7528\u6237\u6709\u5efa\u8868\u548c\u5199\u5165\u6743\u9650<\/p>\n<hr \/>\n<p>\u4e0b\u9762\u662f\u6211\u7684\u5b9e\u64cd<br \/>\n\u6211\u7684\u751f\u4ea7\u5e93\u548c\u6d4b\u8bd5\u5e93\u90fd\u5728\u540c\u4e00\u53f0\u670d\u52a1\u5668\u4e0a&#xff08;192.168.10.205&#xff09;&#xff0c;\u53ea\u662f\u7aef\u53e3\u53f7\u4e0d\u540c&#xff0c;\u4f7f\u7528\u7684\u90fd\u662f MySQL\u3002<\/p>\n<h3>\u2705 \u7b2c\u4e00\u6b65&#xff1a;\u4ece&#034;\u751f\u4ea7\u5e93(3307)&#034;\u5bfc\u51fa\u7ed3\u6784&#043;\u6570\u636e<\/h3>\n<p>\u5728\u7ec8\u7aef\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u5bfc\u51fa\u6574\u4e2a xss \u6570\u636e\u5e93&#xff08;\u8868\u7ed3\u6784 &#043; \u6570\u636e&#xff09;\u4e3a\u4e00\u4e2a SQL \u6587\u4ef6&#xff1a;<\/p>\n<p>mysqldump -h <span class=\"token number\">192.168<\/span>.10.205 -P <span class=\"token number\">3307<\/span> -u root -p<span class=\"token string\">&#039;\u6570\u636e\u5e93\u8fde\u63a5\u5bc6\u7801&#039;<\/span> xss <span class=\"token operator\">&gt;<\/span> \/tmp\/xss_prod_backup.sql<\/p>\n<p>\u8bf4\u660e&#xff1a;<br \/>\n-P 3307 \u6307\u5b9a\u751f\u4ea7\u5e93\u7684\u7aef\u53e3&#xff1b;<br \/>\n\u6ce8\u610f\u5bc6\u7801\u524d\u4e0d\u8981\u52a0\u7a7a\u683c&#xff1b;<br \/>\n\/tmp\/xss_prod_backup.sql \u662f\u5907\u4efd\u6587\u4ef6\u8def\u5f84&#xff0c;\u4f60\u4e5f\u53ef\u4ee5\u6539\u6210\u5176\u5b83\u8def\u5f84&#xff1b;<\/p>\n<h3>\u2705 \u7b2c\u4e8c\u6b65&#xff1a;\u5c06 SQL \u6587\u4ef6\u5bfc\u5165\u5230&#034;\u6d4b\u8bd5\u5e93(3306)&#034;<\/h3>\n<p>\u786e\u4fdd\u6d4b\u8bd5\u5e93\u7684 xss \u6570\u636e\u5e93\u5b58\u5728\u3002\u5982\u679c\u6ca1\u6709&#xff0c;\u5148\u6267\u884c&#xff1a;<\/p>\n<p>mysql -h <span class=\"token number\">192.168<\/span>.10.205 -P <span class=\"token number\">3306<\/span> -u root -p<span class=\"token string\">&#039;\u6d4b\u8bd5\u5e93\u5bc6\u7801&#039;<\/span> -e <span class=\"token string\">&#034;CREATE DATABASE IF NOT EXISTS xss DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;&#034;<\/span><\/p>\n<p>\u7136\u540e\u6267\u884c\u5bfc\u5165\u547d\u4ee4&#xff1a;<\/p>\n<p>mysql -h <span class=\"token number\">192.168<\/span>.10.205 -P <span class=\"token number\">3306<\/span> -u root -p<span class=\"token string\">&#039;\u6d4b\u8bd5\u5e93\u5bc6\u7801&#039;<\/span> xss <span class=\"token operator\">&lt;<\/span> \/tmp\/xss_prod_backup.sql<\/p>\n<h3>\u2705 \u7b2c\u4e09\u6b65&#xff1a;\u9a8c\u8bc1\u6d4b\u8bd5\u5e93\u6570\u636e<\/h3>\n<p>\u767b\u5f55\u6d4b\u8bd5\u5e93\u67e5\u770b&#xff1a;<\/p>\n<p>mysql -h <span class=\"token number\">192.168<\/span>.10.205 -P <span class=\"token number\">3306<\/span> -u root -p<span class=\"token string\">&#039;\u6d4b\u8bd5\u5e93\u5bc6\u7801&#039;<\/span><br \/>\nUSE xss<span class=\"token punctuation\">;<\/span><br \/>\nSHOW TABLES<span class=\"token punctuation\">;<\/span><\/p>\n<h3>&#x1f501; \u4e00\u952e\u6267\u884c\u811a\u672c&#xff08;\u5982\u679c\u4f60\u60f3\u5feb\u901f\u5b8c\u6210&#xff09;<\/h3>\n<p>\u53ef\u4ee5\u5c06\u4e0b\u9762\u5185\u5bb9\u4fdd\u5b58\u6210\u4e00\u4e2a .sh \u6587\u4ef6\u6267\u884c&#xff0c;\u4f8b\u5982&#xff1a;sync_xss_db.sh<\/p>\n<p><span class=\"token shebang important\">#!\/bin\/bash<\/span><\/p>\n<p><span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u5bfc\u51fa\u751f\u4ea7\u5e93&#8230;&#034;<\/span><br \/>\nmysqldump -h <span class=\"token number\">192.168<\/span>.10.205 -P <span class=\"token number\">3307<\/span> -u root -p<span class=\"token string\">&#039;\u751f\u4ea7\u5e93\u5bc6\u7801&#039;<\/span> xss <span class=\"token operator\">&gt;<\/span> \/tmp\/xss_prod_backup.sql<\/p>\n<p><span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u521b\u5efa\u6d4b\u8bd5\u5e93&#xff08;\u5982\u4e0d\u5b58\u5728&#xff09;&#8230;&#034;<\/span><br \/>\nmysql -h <span class=\"token number\">192.168<\/span>.10.205 -P <span class=\"token number\">3306<\/span> -u root -p<span class=\"token string\">&#039;\u6d4b\u8bd5\u5e93\u5bc6\u7801&#039;<\/span> -e <span class=\"token string\">&#034;CREATE DATABASE IF NOT EXISTS xss DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;&#034;<\/span><\/p>\n<p><span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u5bfc\u5165\u5230\u6d4b\u8bd5\u5e93&#8230;&#034;<\/span><br \/>\nmysql -h <span class=\"token number\">192.168<\/span>.10.205 -P <span class=\"token number\">3306<\/span> -u root -p<span class=\"token string\">&#039;\u6d4b\u8bd5\u5e93\u5bc6\u7801&#039;<\/span> xss <span class=\"token operator\">&lt;<\/span> \/tmp\/xss_prod_backup.sql<\/p>\n<p><span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u2705 \u6570\u636e\u540c\u6b65\u5b8c\u6210&#034;<\/span><\/p>\n<p>\u7136\u540e\u8fd0\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">chmod<\/span> &#043;x sync_xss_db.sh<br \/>\n.\/sync_xss_db.sh<\/p>\n<p>\u56e0\u4e3a\u6211\u662f\u5728 Windows \u7cfb\u7edf\u4e0a\u8fd0\u884c\u547d\u4ee4&#xff0c;\u800c \/tmp\/xss_prod_backup.sql \u662f Linux\/macOS \u8def\u5f84\u683c\u5f0f&#xff0c;Windows \u4e0d\u8bc6\u522b\u8fd9\u4e2a\u8def\u5f84&#xff0c;\u6240\u4ee5\u63d0\u793a\u201c\u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u8def\u5f84\u201d\u3002<\/p>\n<h3>\u2705 \u89e3\u51b3\u529e\u6cd5&#xff1a;\u5c06\u5907\u4efd\u6587\u4ef6\u4fdd\u5b58\u5230 Windows \u8bc6\u522b\u7684\u8def\u5f84<\/h3>\n<p>\u4f8b\u5982\u4fdd\u5b58\u5230 D:\\\\backup\\\\xss_prod_backup.sql&#xff1a;<br \/>\n1.\u521b\u5efa\u5907\u4efd\u76ee\u5f55&#xff08;\u5982\u679c\u8fd8\u6ca1\u6709&#xff09;<br \/>\n\u6253\u5f00 D: \u76d8&#xff0c;\u624b\u52a8\u521b\u5efa\u4e00\u4e2a backup \u6587\u4ef6\u5939\u3002<\/p>\n<p>2.\u4fee\u6539\u547d\u4ee4\u5982\u4e0b&#xff1a;<\/p>\n<p>mysqldump -h <span class=\"token number\">192.168<\/span>.10.205 -P <span class=\"token number\">3307<\/span> -u root -\u6570\u636e\u5e93\u5bc6\u7801 xss <span class=\"token operator\">&gt;<\/span> D:<span class=\"token punctuation\">\\\\<\/span>backup<span class=\"token punctuation\">\\\\<\/span>xss_prod_backup.sql<\/p>\n<p>\u6ce8\u610f\u4e8b\u9879&#xff1a;<br \/>\n-p \u540e \u4e0d\u8981\u52a0\u5f15\u53f7\u6216\u7a7a\u683c&#xff08;Windows \u4e0b\u52a0\u5f15\u53f7\u53ef\u80fd\u4f1a\u88ab\u5f53\u4f5c\u53c2\u6570\u4e00\u90e8\u5206&#xff09;&#xff1b;<\/p>\n<p>\u8def\u5f84\u7528 D:\u2026 \u800c\u4e0d\u662f \/tmp\/\u2026&#xff1b;<\/p>\n<p>\u8def\u5f84\u4e2d\u4e0d\u80fd\u6709\u4e0d\u5b58\u5728\u7684\u6587\u4ef6\u5939&#xff1b;<\/p>\n<h3>\u2705 \u63a5\u4e0b\u6765\u5bfc\u5165\u5230\u6d4b\u8bd5\u5e93&#xff08;3306&#xff09;<\/h3>\n<p>mysql -h <span class=\"token number\">192.168<\/span>.10.205 -P <span class=\"token number\">3306<\/span> -u root -p123456 xss <span class=\"token operator\">&lt;<\/span> D:<span class=\"token punctuation\">\\\\<\/span>backup<span class=\"token punctuation\">\\\\<\/span>xss_prod_backup.sql<\/p>\n<p>\u6267\u884c\u4ee3\u7801\u65f6\u9047\u5230\u4e0b\u9762\u7684\u4fe1\u606f<br \/>\nmysqldump: [Warning] Using a password on the command line interface can be insecure.<br \/>\n\u8fd9\u4e2a\u63d0\u793a\u4fe1\u606f\u662f \u6b63\u5e38\u7684\u8b66\u544a&#xff0c;\u5b83\u53ea\u662f\u544a\u8bc9\u4f60&#xff1a;<\/p>\n<p>\u26a0\ufe0f \u201c\u5728\u547d\u4ee4\u884c\u4e2d\u76f4\u63a5\u4f7f\u7528\u5bc6\u7801\u5b58\u5728\u5b89\u5168\u98ce\u9669\u3002\u201d<\/p>\n<p>\u4f46\u4e0d\u4f1a\u5f71\u54cd\u4f60\u5bfc\u51fa\u6570\u636e&#xff0c;\u53ea\u8981\u6ca1\u6709\u62a5\u9519&#xff0c;\u5c31\u8bf4\u660e\u5907\u4efd\u6587\u4ef6 D:\\\\backup\\\\xss_prod_backup.sql \u5df2\u6210\u529f\u751f\u6210\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb659\u6b21\uff0c\u70b9\u8d5e10\u6b21\uff0c\u6536\u85cf12\u6b21\u3002\u4e0a\u8fd0\u884c\u547d\u4ee4\uff0c\u800c \/tmp\/xss_prod_backup.sql \u662f Linux\/macOS \u8def\u5f84\u683c\u5f0f\uff0cWindows \u4e0d\u8bc6\u522b\u8fd9\u4e2a\u8def\u5f84\uff0c\u6240\u4ee5\u63d0\u793a\u201c\u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u8def\u5f84\u201d\u3002\u4f46\u4e0d\u4f1a\u5f71\u54cd\u4f60\u5bfc\u51fa\u6570\u636e\uff0c\u53ea\u8981\u6ca1\u6709\u62a5\u9519\uff0c\u5c31\u8bf4\u660e\u5907\u4efd\u6587\u4ef6 D:\\\\backup\\\\xss_prod_backup.sql \u5df2\u6210\u529f\u751f\u6210\u3002\u5982\u679c\u4f60\u7528\u7684\u662f Django \u9879\u76ee\uff0c\u60f3\u7528\u811a\u672c\u505a\u4e5f\u53ef\u4ee5\uff0c\u4f46\u4e0d\u9002\u5408\u7528\u4e8e\u5927\u91cf\u6570\u636e\u548c\u7ed3\u6784\u540c\u6b65\uff0c\u4e00\u822c\u53ea\u7528\u4e8e\u5c0f\u91cf\u8868\u6570\u636e\u3002\/tmp\/xss_prod_backup.sql \u662f\u5907\u4efd\u6587\u4ef6\u8def\u5f84\uff0c\u4f60\u4e5f\u53ef\u4ee5\u6539\u6210\u5176\u5b83\u8def\u5f84\uff1b\u800c\u4e0d\u662f \/tmp\/\u2026_mysql\u600e\u4e48\u628a\u751f\u4ea7\u5e93\u540c\u6b65\u6d4b\u8bd5\u73af\u5883\u5e93\u4e2d<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[114,100,4949],"topic":[],"class_list":["post-50709","post","type-post","status-publish","format-standard","hentry","category-server","tag-mysql","tag-100","tag-4949"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5c06\u751f\u4ea7\u5e93\u7684\u6570\u636e\u8fde\u540c\u8868\u7ed3\u6784\u4e00\u8d77\u590d\u5236\u5230\u6d4b\u8bd5\u5e93\u4e2d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/50709.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5c06\u751f\u4ea7\u5e93\u7684\u6570\u636e\u8fde\u540c\u8868\u7ed3\u6784\u4e00\u8d77\u590d\u5236\u5230\u6d4b\u8bd5\u5e93\u4e2d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb659\u6b21\uff0c\u70b9\u8d5e10\u6b21\uff0c\u6536\u85cf12\u6b21\u3002\u4e0a\u8fd0\u884c\u547d\u4ee4\uff0c\u800c \/tmp\/xss_prod_backup.sql \u662f Linux\/macOS \u8def\u5f84\u683c\u5f0f\uff0cWindows \u4e0d\u8bc6\u522b\u8fd9\u4e2a\u8def\u5f84\uff0c\u6240\u4ee5\u63d0\u793a\u201c\u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u8def\u5f84\u201d\u3002\u4f46\u4e0d\u4f1a\u5f71\u54cd\u4f60\u5bfc\u51fa\u6570\u636e\uff0c\u53ea\u8981\u6ca1\u6709\u62a5\u9519\uff0c\u5c31\u8bf4\u660e\u5907\u4efd\u6587\u4ef6 D:\\backup\\xss_prod_backup.sql \u5df2\u6210\u529f\u751f\u6210\u3002\u5982\u679c\u4f60\u7528\u7684\u662f Django \u9879\u76ee\uff0c\u60f3\u7528\u811a\u672c\u505a\u4e5f\u53ef\u4ee5\uff0c\u4f46\u4e0d\u9002\u5408\u7528\u4e8e\u5927\u91cf\u6570\u636e\u548c\u7ed3\u6784\u540c\u6b65\uff0c\u4e00\u822c\u53ea\u7528\u4e8e\u5c0f\u91cf\u8868\u6570\u636e\u3002\/tmp\/xss_prod_backup.sql \u662f\u5907\u4efd\u6587\u4ef6\u8def\u5f84\uff0c\u4f60\u4e5f\u53ef\u4ee5\u6539\u6210\u5176\u5b83\u8def\u5f84\uff1b\u800c\u4e0d\u662f \/tmp\/\u2026_mysql\u600e\u4e48\u628a\u751f\u4ea7\u5e93\u540c\u6b65\u6d4b\u8bd5\u73af\u5883\u5e93\u4e2d\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/50709.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-10T03:39:06+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/50709.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/50709.html\",\"name\":\"\u5c06\u751f\u4ea7\u5e93\u7684\u6570\u636e\u8fde\u540c\u8868\u7ed3\u6784\u4e00\u8d77\u590d\u5236\u5230\u6d4b\u8bd5\u5e93\u4e2d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-10T03:39:06+00:00\",\"dateModified\":\"2025-08-10T03:39:06+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/50709.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/50709.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/50709.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5c06\u751f\u4ea7\u5e93\u7684\u6570\u636e\u8fde\u540c\u8868\u7ed3\u6784\u4e00\u8d77\u590d\u5236\u5230\u6d4b\u8bd5\u5e93\u4e2d\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5c06\u751f\u4ea7\u5e93\u7684\u6570\u636e\u8fde\u540c\u8868\u7ed3\u6784\u4e00\u8d77\u590d\u5236\u5230\u6d4b\u8bd5\u5e93\u4e2d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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:\/\/www.wsisp.com\/helps\/50709.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5c06\u751f\u4ea7\u5e93\u7684\u6570\u636e\u8fde\u540c\u8868\u7ed3\u6784\u4e00\u8d77\u590d\u5236\u5230\u6d4b\u8bd5\u5e93\u4e2d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb659\u6b21\uff0c\u70b9\u8d5e10\u6b21\uff0c\u6536\u85cf12\u6b21\u3002\u4e0a\u8fd0\u884c\u547d\u4ee4\uff0c\u800c \/tmp\/xss_prod_backup.sql \u662f Linux\/macOS \u8def\u5f84\u683c\u5f0f\uff0cWindows \u4e0d\u8bc6\u522b\u8fd9\u4e2a\u8def\u5f84\uff0c\u6240\u4ee5\u63d0\u793a\u201c\u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u8def\u5f84\u201d\u3002\u4f46\u4e0d\u4f1a\u5f71\u54cd\u4f60\u5bfc\u51fa\u6570\u636e\uff0c\u53ea\u8981\u6ca1\u6709\u62a5\u9519\uff0c\u5c31\u8bf4\u660e\u5907\u4efd\u6587\u4ef6 D:\\backup\\xss_prod_backup.sql \u5df2\u6210\u529f\u751f\u6210\u3002\u5982\u679c\u4f60\u7528\u7684\u662f Django \u9879\u76ee\uff0c\u60f3\u7528\u811a\u672c\u505a\u4e5f\u53ef\u4ee5\uff0c\u4f46\u4e0d\u9002\u5408\u7528\u4e8e\u5927\u91cf\u6570\u636e\u548c\u7ed3\u6784\u540c\u6b65\uff0c\u4e00\u822c\u53ea\u7528\u4e8e\u5c0f\u91cf\u8868\u6570\u636e\u3002\/tmp\/xss_prod_backup.sql \u662f\u5907\u4efd\u6587\u4ef6\u8def\u5f84\uff0c\u4f60\u4e5f\u53ef\u4ee5\u6539\u6210\u5176\u5b83\u8def\u5f84\uff1b\u800c\u4e0d\u662f \/tmp\/\u2026_mysql\u600e\u4e48\u628a\u751f\u4ea7\u5e93\u540c\u6b65\u6d4b\u8bd5\u73af\u5883\u5e93\u4e2d","og_url":"https:\/\/www.wsisp.com\/helps\/50709.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-10T03:39:06+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/50709.html","url":"https:\/\/www.wsisp.com\/helps\/50709.html","name":"\u5c06\u751f\u4ea7\u5e93\u7684\u6570\u636e\u8fde\u540c\u8868\u7ed3\u6784\u4e00\u8d77\u590d\u5236\u5230\u6d4b\u8bd5\u5e93\u4e2d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-10T03:39:06+00:00","dateModified":"2025-08-10T03:39:06+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/50709.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/50709.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/50709.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5c06\u751f\u4ea7\u5e93\u7684\u6570\u636e\u8fde\u540c\u8868\u7ed3\u6784\u4e00\u8d77\u590d\u5236\u5230\u6d4b\u8bd5\u5e93\u4e2d"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/50709","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=50709"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/50709\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=50709"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=50709"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=50709"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=50709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}