{"id":36513,"date":"2025-05-10T08:16:08","date_gmt":"2025-05-10T00:16:08","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/36513.html"},"modified":"2025-05-10T08:16:08","modified_gmt":"2025-05-10T00:16:08","slug":"%e9%93%b6%e6%b2%b3%e9%ba%92%e9%ba%9f%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%95%b4%e7%90%86%e7%9a%84mysql-5-7%e5%ae%89%e8%a3%85%e9%83%a8%e7%bd%b2%e6%89%8b%e5%86%8c","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/36513.html","title":{"rendered":"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u6574\u7406\u7684MySQL 5.7\u5b89\u88c5\u90e8\u7f72\u624b\u518c"},"content":{"rendered":"<hr \/>\n<h2>MySQL 5.7 \u79bb\u7ebf\u5b89\u88c5\u90e8\u7f72\u624b\u518c&#xff08;\u94f6\u6cb3\u9e92\u9e9f\u7248&#xff09;<\/h2>\n<h3>\u7cfb\u7edf\u73af\u5883\u8981\u6c42<\/h3>\n<li>\u64cd\u4f5c\u7cfb\u7edf&#xff1a;\u94f6\u6cb3\u9e92\u9e9f\u9ad8\u7ea7\u670d\u52a1\u5668\u7248V10<\/li>\n<li>CPU\u67b6\u6784&#xff1a;x86_64&#xff08;\u9002\u914d\u5176\u4ed6\u67b6\u6784\u9700\u66f4\u6362\u4e8c\u8fdb\u5236\u5305&#xff09;<\/li>\n<li>\u53ef\u7528\u78c1\u76d8\u7a7a\u95f4&#xff1a;\u81f3\u5c115GB<\/li>\n<li>\u5185\u5b58&#xff1a;\u5efa\u8bae2GB\u4ee5\u4e0a<\/li>\n<hr \/>\n<h3>\u4e00\u3001\u51c6\u5907\u5de5\u4f5c<\/h3>\n<h4>1.1 \u5378\u8f7dMariaDB<\/h4>\n<p><span class=\"token comment\"># \u68c0\u67e5\u5df2\u5b89\u88c5\u7684MariaDB<\/span><br \/>\n<span class=\"token function\">rpm<\/span> -qa <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> mariadb<\/p>\n<p><span class=\"token comment\"># \u5378\u8f7d\u6240\u6709MariaDB\u76f8\u5173\u5305<\/span><br \/>\n<span class=\"token function\">sudo<\/span> yum remove mariadb* -y<\/p>\n<h4>1.2 \u5b89\u88c5\u4f9d\u8d56\u5305<\/h4>\n<p><span class=\"token function\">sudo<\/span> yum <span class=\"token function\">install<\/span> -y gcc gcc-c&#043;&#043; cmake ncurses-devel <span class=\"token punctuation\">\\\\<\/span><br \/>\nbison openssl-devel rpcgen libaio<\/p>\n<hr \/>\n<h3>\u4e8c\u3001MySQL\u5b89\u88c5\u90e8\u7f72<\/h3>\n<h4>2.1 \u4e0b\u8f7d\u4e8c\u8fdb\u5236\u5305<\/h4>\n<p><span class=\"token function\">wget<\/span> https:\/\/cdn.mysql.com\/archives\/mysql-5.7\/mysql-5.7.42-linux-glibc2.12-x86_64.tar.gz<\/p>\n<p>\u6ce8\u610f&#xff1a;\u5982\u679c\u4e0b\u8f7d\u5730\u5740\u5931\u6548&#xff0c;\u8bf7\u4eceMySQL\u5b98\u7f51\u83b7\u53d6\u6700\u65b0\u4e8c\u8fdb\u5236\u5305<\/p>\n<h4>2.2 \u89e3\u538b\u5b89\u88c5<\/h4>\n<p><span class=\"token function\">tar<\/span> -zxvf mysql-5.7.42-linux-glibc2.12-x86_64.tar.gz<br \/>\n<span class=\"token function\">mv<\/span> mysql-5.7.42-linux-glibc2.12-x86_64 \/opt\/mysql-5.7.42<\/p>\n<h4>2.3 \u521b\u5efa\u7cfb\u7edf\u7528\u6237<\/h4>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">groupadd<\/span> mysql<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">useradd<\/span> -g mysql -s \/sbin\/nologin -M mysql<\/p>\n<h4>2.4 \u76ee\u5f55\u7ed3\u6784\u914d\u7f6e<\/h4>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">mkdir<\/span> -p \/mysqlapp\/mysql\/<span class=\"token punctuation\">{<\/span>data,log,run<span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">chown<\/span> -R mysql:mysql \/mysqlapp\/mysql<\/p>\n<h4>2.5 \u79fb\u52a8\u6587\u4ef6<\/h4>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">mv<\/span> \/opt\/mysql-5.7.42\/* \/mysqlapp\/mysql\/<\/p>\n<hr \/>\n<h3>\u4e09\u3001\u6570\u636e\u5e93\u521d\u59cb\u5316<\/h3>\n<h4>3.1 \u73af\u5883\u53d8\u91cf\u914d\u7f6e<\/h4>\n<p><span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#039;export PATH&#061;\/mysqlapp\/mysql\/bin:<span class=\"token environment constant\">$PATH<\/span>&#039;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">sudo<\/span> <span class=\"token function\">tee<\/span> -a \/etc\/profile<br \/>\n<span class=\"token builtin class-name\">source<\/span> \/etc\/profile<\/p>\n<h4>3.2 \u521d\u59cb\u5316\u6570\u636e\u5e93<\/h4>\n<p><span class=\"token builtin class-name\">cd<\/span> \/mysqlapp\/mysql\/bin<br \/>\n<span class=\"token function\">sudo<\/span> -u mysql .\/mysqld &#8211;initialize <span class=\"token punctuation\">\\\\<\/span><br \/>\n&#8211;user<span class=\"token operator\">&#061;<\/span>mysql <span class=\"token punctuation\">\\\\<\/span><br \/>\n&#8211;basedir<span class=\"token operator\">&#061;<\/span>\/mysqlapp\/mysql <span class=\"token punctuation\">\\\\<\/span><br \/>\n&#8211;datadir<span class=\"token operator\">&#061;<\/span>\/mysqlapp\/mysql\/data <span class=\"token punctuation\">\\\\<\/span><br \/>\n&#8211;log-error<span class=\"token operator\">&#061;<\/span>\/mysqlapp\/mysql\/log\/mysql-error.log<\/p>\n<p>\u91cd\u8981&#xff1a;\u8bb0\u5f55\u8f93\u51fa\u7684\u4e34\u65f6root\u5bc6\u7801&#xff0c;\u683c\u5f0f\u793a\u4f8b&#xff1a;[Note] A temporary password is generated for root&#064;localhost: xxxxxx<\/p>\n<hr \/>\n<h3>\u56db\u3001\u914d\u7f6e\u6587\u4ef6\u8bbe\u7f6e<\/h3>\n<h4>4.1 \u521b\u5efa\u914d\u7f6e\u6587\u4ef6<\/h4>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">tee<\/span> \/etc\/my.cnf <span class=\"token operator\">&lt;&lt;<\/span><span class=\"token string\">&#039;EOF&#039;<br \/>\n[mysqld]<br \/>\nport&#061;3306<br \/>\nuser&#061;mysql<br \/>\nbasedir&#061;\/mysqlapp\/mysql<br \/>\ndatadir&#061;\/mysqlapp\/mysql\/data<br \/>\nsocket&#061;\/mysqlapp\/mysql\/run\/mysql.sock<br \/>\nlog-error&#061;\/mysqlapp\/mysql\/log\/mysql-error.log<br \/>\npid-file&#061;\/mysqlapp\/mysql\/run\/mysqld.pid<br \/>\ncharacter-set-server&#061;utf8mb4<br \/>\ncollation-server&#061;utf8mb4_general_ci<br \/>\nmax_connections&#061;500<br \/>\ndefault-storage-engine&#061;INNODB<br \/>\nsql_mode&#061;STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION<\/p>\n<p>[client]<br \/>\nsocket&#061;\/mysqlapp\/mysql\/run\/mysql.sock<br \/>\nEOF<\/span><\/p>\n<h4>4.2 \u8bbe\u7f6e\u6587\u4ef6\u6743\u9650<\/h4>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">chmod<\/span> <span class=\"token number\">644<\/span> \/etc\/my.cnf<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">chown<\/span> mysql:mysql \/mysqlapp\/mysql\/log\/mysql-error.log<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250510001606-681e9ac6d7eba.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<hr \/>\n<h3>\u4e94\u3001\u670d\u52a1\u7ba1\u7406<\/h3>\n<h4>5.1 \u521b\u5efaSystemd\u670d\u52a1<\/h4>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">tee<\/span> \/etc\/systemd\/system\/mysqld.service <span class=\"token operator\">&lt;&lt;<\/span><span class=\"token string\">&#039;EOF&#039;<br \/>\n[Unit]<br \/>\nDescription&#061;MySQL Server<br \/>\nAfter&#061;network.target<\/p>\n<p>[Service]<br \/>\nUser&#061;mysql<br \/>\nGroup&#061;mysql<br \/>\nType&#061;forking<br \/>\nExecStart&#061;\/mysqlapp\/mysql\/support-files\/mysql.server start<br \/>\nExecStop&#061;\/mysqlapp\/mysql\/support-files\/mysql.server stop<br \/>\nExecReload&#061;\/mysqlapp\/mysql\/support-files\/mysql.server restart<br \/>\nPIDFile&#061;\/mysqlapp\/mysql\/run\/mysqld.pid<\/p>\n<p>[Install]<br \/>\nWantedBy&#061;multi-user.target<br \/>\nEOF<\/span><\/p>\n<h4>5.2 \u542f\u52a8\u670d\u52a1<\/h4>\n<p><span class=\"token function\">sudo<\/span> systemctl daemon-reload<br \/>\n<span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> mysqld<br \/>\n<span class=\"token function\">sudo<\/span> systemctl start mysqld<\/p>\n<hr \/>\n<h3>\u516d\u3001\u5b89\u5168\u914d\u7f6e<\/h3>\n<h4>6.1 \u4fee\u6539root\u5bc6\u7801<\/h4>\n<p>mysql -u root -p<br \/>\n<span class=\"token comment\"># \u8f93\u5165\u521d\u59cb\u5316\u65f6\u7684\u4e34\u65f6\u5bc6\u7801<\/span><\/p>\n<p><span class=\"token comment\"># \u4fee\u6539\u5bc6\u7801<\/span><br \/>\nALTER <span class=\"token environment constant\">USER<\/span> <span class=\"token string\">&#039;root&#039;<\/span>&#064;<span class=\"token string\">&#039;localhost&#039;<\/span> IDENTIFIED BY <span class=\"token string\">&#039;Zyl#2024&#039;<\/span><span class=\"token punctuation\">;<\/span><br \/>\nFLUSH PRIVILEGES<span class=\"token punctuation\">;<\/span><\/p>\n<h4>6.2 \u9632\u706b\u5899\u914d\u7f6e<\/h4>\n<p><span class=\"token function\">sudo<\/span> firewall-cmd &#8211;permanent &#8211;add-port<span class=\"token operator\">&#061;<\/span><span class=\"token number\">3306<\/span>\/tcp<br \/>\n<span class=\"token function\">sudo<\/span> firewall-cmd &#8211;reload<\/p>\n<hr \/>\n<h3>\u4e03\u3001\u9a8c\u8bc1\u5b89\u88c5<\/h3>\n<h4>7.1 \u670d\u52a1\u72b6\u6001\u68c0\u67e5<\/h4>\n<p>systemctl status mysqld<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250510001607-681e9ac737b77.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>7.2 \u8fde\u63a5\u6d4b\u8bd5<\/h4>\n<p>mysql -u root -p -e <span class=\"token string\">&#034;SELECT VERSION();&#034;<\/span><\/p>\n<hr \/>\n<h3>\u516b\u3001\u6545\u969c\u6392\u67e5<\/h3>\n<h4>\u5e38\u89c1\u95ee\u9898\u5904\u7406&#xff1a;<\/h4>\n<li>\n<p>\u542f\u52a8\u5931\u8d25&#xff1a;<\/p>\n<p> <span class=\"token function\">tail<\/span> -n <span class=\"token number\">50<\/span> \/mysqlapp\/mysql\/log\/mysql-error.log\n <\/li>\n<li>\n<p>\u5fd8\u8bb0root\u5bc6\u7801&#xff1a;<\/p>\n<p> systemctl stop mysqld<br \/>\nmysqld_safe &#8211;skip-grant-tables <span class=\"token operator\">&amp;<\/span><br \/>\nmysql -u root<br \/>\n<span class=\"token comment\"># \u6267\u884c\u5bc6\u7801\u4fee\u6539\u540e\u91cd\u542f\u670d\u52a1<\/span>\n <\/li>\n<li>\n<p>\u7aef\u53e3\u51b2\u7a81&#xff1a;<\/p>\n<p> <span class=\"token function\">netstat<\/span> -tunlp <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token number\">3306<\/span>\n <\/li>\n<hr \/>\n<h3>\u9644\u5f55&#xff1a;\u76ee\u5f55\u7ed3\u6784\u8bf4\u660e<\/h3>\n<p>\/mysqlapp\/mysql<br \/>\n\u251c\u2500\u2500 bin                 # \u53ef\u6267\u884c\u6587\u4ef6<br \/>\n\u251c\u2500\u2500 data                # \u6570\u636e\u5e93\u6587\u4ef6<br \/>\n\u251c\u2500\u2500 log                 # \u65e5\u5fd7\u76ee\u5f55<br \/>\n\u2502   \u2514\u2500\u2500 mysql-error.log # \u9519\u8bef\u65e5\u5fd7<br \/>\n\u2514\u2500\u2500 run                 # \u8fd0\u884c\u65f6\u6587\u4ef6<\/p>\n<p>\u70b9\u51fb\u4e0b\u8f7dPDF\u7248\u672c&#xff08;\u793a\u4f8b\u94fe\u63a5&#xff09;<\/p>\n<p>\u6587\u6863\u66f4\u65b0\u8bb0\u5f55 2024-03-15 v1.0 \u521d\u7248 2024-03-20 v1.1 \u589e\u52a0\u6545\u969c\u6392\u67e5\u7ae0\u8282<\/p>\n<hr \/>\n<p>\u8be5\u624b\u518c\u5df2\u901a\u8fc7\u4ee5\u4e0b\u73af\u5883\u9a8c\u8bc1&#xff1a; \u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7248V10 SP3 \u5185\u6838\u7248\u672c&#xff1a;4.19.90-25.10.v2101.ky10.x86_64<\/p>\n<p>\u6280\u672f\u7cbe\u82f1\u805a\u96c6\u5730 &#x1f539;\u3010\u6280\u672f\u7cbe\u82f1\u805a\u96c6\u5730\u3011\u73b0\u6709\u70ed\u95e8\u793e\u7fa4&#xff08;\u626b\u7801\u901f\u52a0&#xff09;&#xff1a; \u2705 \u8fd0\u7ef4\u65b9\u6848\u534f\u4f5c\u7fa4 &#8211; \u5bf9\u63a5\u4f01\u4e1a\u7ea7\u8fd0\u7ef4\u9700\u6c42 \u2705 \u56fd\u4ea7\u6570\u636e\u5e93\u8054\u76df &#8211; \u8fbe\u68a6\/\u9ad8\u65af\/OceanBase\u6df1\u5ea6\u5b9e\u8df5 \u2705 Linux\u5185\u6838\u7814\u4e60\u793e &#8211; \u7cfb\u7edf\u8c03\u4f18\u4e0e\u6545\u969c\u6392\u67e5\u5b9e\u6218 \u2705 DeepSeek\u6848\u4f8b\u5e93 &#8211; \u5927\u6a21\u578b\u884c\u4e1a\u843d\u5730\u65b9\u6848\u5171\u4eab \u2705 \u4fe1\u521bOS\u653b\u575a\u7ec4 &#8211; \u9e92\u9e9f\/\u7edf\u4fe1\/\u6b27\u62c9\/\u9f99\u8725\/\u51dd\u601d\u5168\u7cfb\u6280\u672f\u7814\u8ba8<\/p>\n<p>&#x1f4cc; \u5165\u7fa4\u901a\u9053&#xff1a; 1\ufe0f\u20e3 \u6dfb\u52a0\u6280\u672f\u52a9\u7406\u5fae\u4fe1&#xff1a;foreverops 2\ufe0f\u20e3 \u5907\u6ce8\u300c\u76ee\u6807\u7fa4\u540d\u79f0&#043;\u516c\u53f8\/\u9886\u57df\u300d&#xff08;\u4f8b&#xff1a;Linux\u7fa4&#043;\u4e91\u5e73\u53f0\u8fd0\u7ef4&#xff09; 3\ufe0f\u20e3 \u83b7\u53d6\u4e13\u5c5e\u9080\u8bf7\u94fe\u63a5&#xff08;24h\u5185\u5904\u7406&#xff09; \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb739\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf6\u6b21\u3002\u300a\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668MySQL 5.7\u5b89\u88c5\u90e8\u7f72\u624b\u518c\u79bb\u7ebf\u7248\u300b\u662f\u4e00\u4efd\u9488\u5bf9\u94f6\u6cb3\u9e92\u9e9f\u64cd\u4f5c\u7cfb\u7edf\u7684\u8be6\u7ec6\u6307\u5357\uff0c\u65e8\u5728\u5e2e\u52a9\u7528\u6237\u5728\u65e0\u7f51\u7edc\u73af\u5883\u4e0b\u987a\u5229\u5b8c\u6210MySQL 5.7\u6570\u636e\u5e93\u7684\u5b89\u88c5\u4e0e\u914d\u7f6e\u3002\u8be5\u624b\u518c\u6db5\u76d6\u4e86\u4ece\u7cfb\u7edf\u73af\u5883\u51c6\u5907\u3001\u8f6f\u4ef6\u5305\u5b89\u88c5\u5230MySQL\u670d\u52a1\u8bbe\u7f6e\u53ca\u4f18\u5316\u7684\u5168\u8fc7\u7a0b\uff0c\u4e3a\u56fd\u4ea7\u5316\u5185\u7f51\u79bb\u7ebf\u90e8\u7f72\u63d0\u4f9b\u4e86\u6709\u529b\u652f\u6301\u3002_\u94f6\u6cb3\u9e92\u9e9f \u5b89\u88c5mysql<\/p>\n","protected":false},"author":2,"featured_media":36511,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[114,3148,43,44],"topic":[],"class_list":["post-36513","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-mysql","tag-3148","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u6574\u7406\u7684MySQL 5.7\u5b89\u88c5\u90e8\u7f72\u624b\u518c - \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\/36513.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u6574\u7406\u7684MySQL 5.7\u5b89\u88c5\u90e8\u7f72\u624b\u518c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb739\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf6\u6b21\u3002\u300a\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668MySQL 5.7\u5b89\u88c5\u90e8\u7f72\u624b\u518c\u79bb\u7ebf\u7248\u300b\u662f\u4e00\u4efd\u9488\u5bf9\u94f6\u6cb3\u9e92\u9e9f\u64cd\u4f5c\u7cfb\u7edf\u7684\u8be6\u7ec6\u6307\u5357\uff0c\u65e8\u5728\u5e2e\u52a9\u7528\u6237\u5728\u65e0\u7f51\u7edc\u73af\u5883\u4e0b\u987a\u5229\u5b8c\u6210MySQL 5.7\u6570\u636e\u5e93\u7684\u5b89\u88c5\u4e0e\u914d\u7f6e\u3002\u8be5\u624b\u518c\u6db5\u76d6\u4e86\u4ece\u7cfb\u7edf\u73af\u5883\u51c6\u5907\u3001\u8f6f\u4ef6\u5305\u5b89\u88c5\u5230MySQL\u670d\u52a1\u8bbe\u7f6e\u53ca\u4f18\u5316\u7684\u5168\u8fc7\u7a0b\uff0c\u4e3a\u56fd\u4ea7\u5316\u5185\u7f51\u79bb\u7ebf\u90e8\u7f72\u63d0\u4f9b\u4e86\u6709\u529b\u652f\u6301\u3002_\u94f6\u6cb3\u9e92\u9e9f \u5b89\u88c5mysql\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/36513.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-10T00:16:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250510001606-681e9ac6d7eba.png\" \/>\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\/36513.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/36513.html\",\"name\":\"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u6574\u7406\u7684MySQL 5.7\u5b89\u88c5\u90e8\u7f72\u624b\u518c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-10T00:16:08+00:00\",\"dateModified\":\"2025-05-10T00:16:08+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/36513.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/36513.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/36513.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u6574\u7406\u7684MySQL 5.7\u5b89\u88c5\u90e8\u7f72\u624b\u518c\"}]},{\"@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":"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u6574\u7406\u7684MySQL 5.7\u5b89\u88c5\u90e8\u7f72\u624b\u518c - \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\/36513.html","og_locale":"zh_CN","og_type":"article","og_title":"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u6574\u7406\u7684MySQL 5.7\u5b89\u88c5\u90e8\u7f72\u624b\u518c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb739\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf6\u6b21\u3002\u300a\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668MySQL 5.7\u5b89\u88c5\u90e8\u7f72\u624b\u518c\u79bb\u7ebf\u7248\u300b\u662f\u4e00\u4efd\u9488\u5bf9\u94f6\u6cb3\u9e92\u9e9f\u64cd\u4f5c\u7cfb\u7edf\u7684\u8be6\u7ec6\u6307\u5357\uff0c\u65e8\u5728\u5e2e\u52a9\u7528\u6237\u5728\u65e0\u7f51\u7edc\u73af\u5883\u4e0b\u987a\u5229\u5b8c\u6210MySQL 5.7\u6570\u636e\u5e93\u7684\u5b89\u88c5\u4e0e\u914d\u7f6e\u3002\u8be5\u624b\u518c\u6db5\u76d6\u4e86\u4ece\u7cfb\u7edf\u73af\u5883\u51c6\u5907\u3001\u8f6f\u4ef6\u5305\u5b89\u88c5\u5230MySQL\u670d\u52a1\u8bbe\u7f6e\u53ca\u4f18\u5316\u7684\u5168\u8fc7\u7a0b\uff0c\u4e3a\u56fd\u4ea7\u5316\u5185\u7f51\u79bb\u7ebf\u90e8\u7f72\u63d0\u4f9b\u4e86\u6709\u529b\u652f\u6301\u3002_\u94f6\u6cb3\u9e92\u9e9f \u5b89\u88c5mysql","og_url":"https:\/\/www.wsisp.com\/helps\/36513.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-10T00:16:08+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250510001606-681e9ac6d7eba.png"}],"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\/36513.html","url":"https:\/\/www.wsisp.com\/helps\/36513.html","name":"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u6574\u7406\u7684MySQL 5.7\u5b89\u88c5\u90e8\u7f72\u624b\u518c - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-10T00:16:08+00:00","dateModified":"2025-05-10T00:16:08+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/36513.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/36513.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/36513.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u6574\u7406\u7684MySQL 5.7\u5b89\u88c5\u90e8\u7f72\u624b\u518c"}]},{"@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\/36513","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=36513"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/36513\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/36511"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=36513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=36513"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=36513"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=36513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}