{"id":35783,"date":"2025-05-06T17:16:12","date_gmt":"2025-05-06T09:16:12","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/35783.html"},"modified":"2025-05-06T17:16:12","modified_gmt":"2025-05-06T09:16:12","slug":"mysql-%e7%ac%ac%e4%b8%80%e8%ae%b2-%e5%9f%ba%e7%a1%80%e7%af%87-%e5%ae%89%e8%a3%85","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/35783.html","title":{"rendered":"MySQL \u7b2c\u4e00\u8bb2---\u57fa\u7840\u7bc7 \u5b89\u88c5"},"content":{"rendered":"<h2 id=\"%E5%89%8D%E8%A8%80%EF%BC%9A\">\u524d\u8a00&#xff1a;<\/h2>\n<p>\u5728\u5f53\u4eca\u6570\u636e\u9a71\u52a8\u7684\u65f6\u4ee3&#xff0c;\u638c\u63e1\u6570\u636e\u5e93\u6280\u672f\u5df2\u6210\u4e3a\u5f00\u53d1\u8005\u5fc5\u5907\u7684\u6838\u5fc3\u6280\u80fd\u3002\u4f5c\u4e3a\u5168\u7403\u6700\u53d7\u6b22\u8fce\u7684\u5f00\u6e90\u5173\u7cfb\u578b\u6570\u636e\u5e93&#xff0c;MySQL\u627f\u8f7d\u7740\u6dd8\u5b9d\u53cc\u5341\u4e00\u6bcf\u79d250\u4e07\u6b21\u7684\u4ea4\u6613\u8bf7\u6c42&#xff0c;\u652f\u6491\u7740Facebook\u767e\u4ebf\u7ea7\u7684\u6570\u636e\u5b58\u50a8&#xff0c;\u66f4\u662f\u65e0\u6570\u4e92\u8054\u7f51\u4f01\u4e1a\u7684\u6570\u636e\u57fa\u77f3\u3002\u672c\u7cfb\u5217\u6559\u7a0b\u5c06\u4ece\u96f6\u5f00\u59cb&#xff0c;\u5e26\u60a8\u5f00\u542fMySQL\u7684\u63a2\u7d22\u4e4b\u65c5\u3002<\/p>\n<p>\u300a\u57fa\u7840\u7bc7\u00b7\u5b89\u88c5\u300b\u4f5c\u4e3a\u7cfb\u5217\u9996\u7ae0&#xff0c;\u5c06\u4e3a\u60a8\u626b\u6e05\u5b66\u4e60\u9053\u8def\u4e0a\u7684\u7b2c\u4e00\u4e2a\u969c\u788d\u3002\u00a0<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"240\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250506091609-6819d359a5d17.png\" width=\"240\" \/><\/p>\n<hr \/>\n<p id=\"main-toc\">\u76ee\u5f55<\/p>\n<p id=\"%E5%89%8D%E8%A8%80%EF%BC%9A-toc\" style=\"margin-left:0px\">\u524d\u8a00&#xff1a;<\/p>\n<p id=\"%E4%B8%80%E3%80%81MySQL%E7%9A%84%E5%AE%89%E8%A3%85%E4%B8%8E%E5%88%9D%E5%A7%8B%E5%8C%96-toc\" style=\"margin-left:0px\">\u4e00\u3001MySQL\u7684\u5b89\u88c5\u4e0e\u521d\u59cb\u5316<\/p>\n<p id=\"%C2%A01.1%20Centos%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E4%B8%8B%E7%9A%84%E5%AE%89%E8%A3%85%E6%B5%81%E7%A8%8B-toc\" style=\"margin-left:40px\">\u00a01.1 Centos\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u7684\u5b89\u88c5\u6d41\u7a0b<\/p>\n<p id=\"%C2%A0%20%C2%A0%20%C2%A0%20%C2%A0%201.11%20%E6%9F%A5%E7%9C%8B%E5%BD%93%E5%89%8D%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%98%AF%E5%90%A6%E5%B7%B2%E7%BB%8F%E9%83%A8%E7%BD%B2%E4%BA%86MySQL%E6%9C%8D%E5%8A%A1-toc\" style=\"margin-left:80px\">\u00a0 \u00a0 \u00a0 \u00a0 1.11 \u67e5\u770b\u5f53\u524d\u670d\u52a1\u5668\u662f\u5426\u5df2\u7ecf\u90e8\u7f72\u4e86MySQL\u670d\u52a1<\/p>\n<p id=\"%231.%20%E8%8E%B7%E5%8F%96mysql%E5%AE%98%E6%96%B9yum%E6%BA%90-toc\" style=\"margin-left:120px\">#1. \u83b7\u53d6mysql\u5b98\u65b9yum\u6e90<\/p>\n<p id=\"%23%E5%AF%B9%E6%AF%94%E5%89%8D%E5%90%8Eyum%E6%BA%90-toc\" style=\"margin-left:120px\">#\u5bf9\u6bd4\u524d\u540eyum\u6e90<\/p>\n<p id=\"%23%E5%AE%89%E8%A3%85yum%E6%BA%90-toc\" style=\"margin-left:120px\">#\u5b89\u88c5yum\u6e90<\/p>\n<p id=\"%23%E5%AF%B9%E6%AF%94%E5%89%8D%E5%90%8Eyum%E6%BA%90-toc\" style=\"margin-left:120px\">#\u5bf9\u6bd4\u524d\u540eyum\u6e90<\/p>\n<p id=\"%23%E5%AE%89%E8%A3%85mysql%E6%9C%8D%E5%8A%A1%C2%A0-toc\" style=\"margin-left:120px\">#\u5b89\u88c5mysql\u670d\u52a1\u00a0<\/p>\n<p id=\"%C2%A0%23%E6%9F%A5%E7%9C%8B%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6-toc\" style=\"margin-left:120px\">\u00a0#\u67e5\u770b\u914d\u7f6e\u6587\u4ef6<\/p>\n<p id=\"%23%E5%90%AF%E5%8A%A8%E6%9C%8D%E5%8A%A1%C2%A0-toc\" style=\"margin-left:120px\">#\u542f\u52a8\u670d\u52a1\u00a0<\/p>\n<p id=\"%23%E6%9F%A5%E7%9C%8B%E5%90%AF%E5%8A%A8%E6%9C%8D%E5%8A%A1%C2%A0-toc\" style=\"margin-left:120px\">#\u67e5\u770b\u542f\u52a8\u670d\u52a1\u00a0<\/p>\n<p id=\"1.13%20MySQL%E7%9A%84%E7%AE%80%E5%8D%95%E9%85%8D%E7%BD%AE%E4%B8%8E%E7%99%BB%E9%99%86-toc\" style=\"margin-left:40px\">1.13 MySQL\u7684\u7b80\u5355\u914d\u7f6e\u4e0e\u767b\u9646<\/p>\n<p id=\"%E5%B8%B8%E8%A7%84%E7%99%BB%E5%BD%95-toc\" style=\"margin-left:80px\">\u5e38\u89c4\u767b\u5f55<\/p>\n<p id=\"%E9%80%9A%E8%BF%87%E6%97%A5%E5%BF%97%E6%9F%A5%E7%9C%8B%E5%AF%86%E7%A0%81%EF%BC%9A-toc\" style=\"margin-left:120px\">\u901a\u8fc7\u65e5\u5fd7\u67e5\u770b\u5bc6\u7801&#xff1a;<\/p>\n<p id=\"%E8%8B%A5%E4%B8%8D%E5%AD%98%E5%9C%A8%E6%97%A5%E5%BF%97%E7%9A%84%E8%AF%9D%EF%BC%9A%E5%8F%AF%E8%83%BD%E6%98%AF%E4%B8%8D%E7%94%A8%E8%BE%93%E5%85%A5%E5%AF%86%E7%A0%81%E7%9B%B4%E6%8E%A5%E5%9B%9E%E8%BD%A6%E5%B0%B1%E8%83%BD%E7%9B%B4%E6%8E%A5%E7%99%BB%E5%BD%95%E8%BF%9B%E5%8E%BB-toc\" style=\"margin-left:120px\">\u82e5\u4e0d\u5b58\u5728\u65e5\u5fd7\u7684\u8bdd&#xff1a;\u53ef\u80fd\u662f\u4e0d\u7528\u8f93\u5165\u5bc6\u7801\u76f4\u63a5\u56de\u8f66\u5c31\u80fd\u76f4\u63a5\u767b\u5f55\u8fdb\u53bb<\/p>\n<p id=\"%E5%80%98%E8%8B%A5%E8%BF%98%E4%B8%8D%E8%A1%8C%E5%B0%B1%E4%BF%AE%E6%94%B9mysql%E7%9A%84%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%EF%BC%9A-toc\" style=\"margin-left:120px\">\u5018\u82e5\u8fd8\u4e0d\u884c\u5c31\u4fee\u6539mysql\u7684\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/p>\n<p id=\"%E7%AE%80%E5%8D%95%E9%85%8D%E7%BD%AE-toc\" style=\"margin-left:40px\">\u7b80\u5355\u914d\u7f6e<\/p>\n<p id=\"1.2Ubuntu%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E4%B8%8B%E7%9A%84%E5%AE%89%E8%A3%85%E6%B5%81%E7%A8%8B-toc\" style=\"margin-left:40px\">1.2Ubuntu\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u7684\u5b89\u88c5\u6d41\u7a0b<\/p>\n<p id=\"1%E3%80%81%E6%9B%B4%E6%96%B0%E7%B3%BB%E7%BB%9F%E7%9A%84%E8%BD%AF%E4%BB%B6%E5%8C%85%E5%88%97%E8%A1%A8-toc\" style=\"margin-left:80px\">1\u3001\u66f4\u65b0\u7cfb\u7edf\u7684\u8f6f\u4ef6\u5305\u5217\u8868<\/p>\n<p id=\"2%E3%80%81%E5%AE%89%E8%A3%85MySQL-toc\" style=\"margin-left:80px\">2\u3001\u5b89\u88c5MySQL<\/p>\n<p id=\"3%E3%80%81%E6%A3%80%E6%9F%A5MySQL%E6%9C%8D%E5%8A%A1%E6%98%AF%E5%90%A6%E5%90%AF%E5%8A%A8%EF%BC%8C%E8%8B%A5%E6%B2%A1%E6%9C%89%E5%90%AF%E5%8A%A8%E6%89%8B%E5%8A%A8%E5%90%AF%E5%8A%A8%C2%A0-toc\" style=\"margin-left:80px\">3\u3001\u68c0\u67e5MySQL\u670d\u52a1\u662f\u5426\u542f\u52a8&#xff0c;\u82e5\u6ca1\u6709\u542f\u52a8\u624b\u52a8\u542f\u52a8\u00a0<\/p>\n<p id=\"4%E3%80%81%E7%99%BB%E5%BD%95MySQL%EF%BC%88%E9%BB%98%E8%AE%A4%E5%AE%89%E8%A3%85%E4%B9%8B%E5%90%8E%E4%B8%8D%E9%9C%80%E8%A6%81%E5%AF%86%E7%A0%81%E5%B0%B1%E5%8F%AF%E7%99%BB%E5%BD%95%EF%BC%89%C2%A0-toc\" style=\"margin-left:80px\">4\u3001\u767b\u5f55MySQL&#xff08;\u9ed8\u8ba4\u5b89\u88c5\u4e4b\u540e\u4e0d\u9700\u8981\u5bc6\u7801\u5c31\u53ef\u767b\u5f55&#xff09;\u00a0<\/p>\n<p id=\"%C2%A0%C2%A0%E6%80%BB%E7%BB%93%EF%BC%9A-toc\" style=\"margin-left:0px\">\u00a0\u00a0\u603b\u7ed3&#xff1a;<\/p>\n<hr id=\"hr-toc\" \/>\n<h2>\u00a0\u4e00\u3001MySQL\u7684\u5b89\u88c5\u4e0e\u521d\u59cb\u5316<\/h2>\n<h3 id=\"%C2%A01.1%20Centos%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E4%B8%8B%E7%9A%84%E5%AE%89%E8%A3%85%E6%B5%81%E7%A8%8B\">\u00a01.1 Centos\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u7684\u5b89\u88c5\u6d41\u7a0b<\/h3>\n<h4 id=\"%C2%A0%20%C2%A0%20%C2%A0%20%C2%A0%201.11%20%E6%9F%A5%E7%9C%8B%E5%BD%93%E5%89%8D%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%98%AF%E5%90%A6%E5%B7%B2%E7%BB%8F%E9%83%A8%E7%BD%B2%E4%BA%86MySQL%E6%9C%8D%E5%8A%A1\">\u00a0 \u00a0 \u00a0 \u00a0 1.11 \u67e5\u770b\u5f53\u524d\u670d\u52a1\u5668\u662f\u5426\u5df2\u7ecf\u90e8\u7f72\u4e86MySQL\u670d\u52a1<\/h4>\n<p>\u00a0 \u00a0 \u00a0 \u00a0\u5982\u679c\u67e5\u8be2\u7684\u7ed3\u679c\u5df2\u5b89\u88c5&#xff0c;\u90a3\u5c31\u4e0d\u7528\u770b\u63a5\u4e0b\u4e86\u7684\u6b65\u9aa4\u4e86\u3002<\/p>\n<p>ps ajx |grep mysql<\/p>\n<p>\u8fd9\u662f\u672c\u4eba\u670d\u52a1\u5668\u4e0a\u5df2\u7ecf\u5b89\u88c5\u4e86\u7684\u622a\u56fe\u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"60\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250506091609-6819d359b0e3d.png\" width=\"936\" \/><\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a01.12 \u6b63\u5f0f\u5b89\u88c5\u6d41\u7a0b\u00a0<\/p>\n<h5 id=\"%231.%20%E8%8E%B7%E5%8F%96mysql%E5%AE%98%E6%96%B9yum%E6%BA%90\">#1. \u83b7\u53d6mysql\u5b98\u65b9yum\u6e90<\/h5>\n<p>\u5b98\u65b9\u5b89\u88c5MySQL\u7684yum\u6e90<\/p>\n<p>\u6ce8\u610f\u9009\u62e9\u7684\u7248\u672c&#xff0c;\u672c\u6587\u9009\u62e9\u5b89\u88c5\u7684\u7248\u672c\u662fMySQL5.7&#xff0c;\u5728\u7f51\u9875\u5982\u679c\u770b\u4e0d\u6e05\u7248\u672c\u53f7&#xff0c;\u53ef\u4ee5\u8f6c\u5165\u6e90\u4ee3\u7801\u754c\u9762\u9009\u62e9\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"616\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250506091609-6819d359bcab0.png\" width=\"1314\" \/><\/p>\n<p>\u5927\u5bb6\u4e5f\u53ef\u4ee5\u76f4\u63a5\u9009\u62e9\u4e0b\u9762\u6211\u7684\u5b89\u88c5\u7684\u7248\u672c&#xff0c;\u5b83\u662f57\u7cfb\u5217\u7684\u6700\u540e\u4e00\u4e2a\u53d1\u884c\u7248\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"95\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250506091610-6819d35a0d24b.png\" width=\"542\" \/><\/p>\n<p>\u901a\u8fc7rz\u6307\u4ee4\u5c06\u672c\u5730\u6587\u4ef6\u4e0a\u4f20\u5230Linux\u670d\u52a1\u5668\u4e2d\u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"609\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250506091610-6819d35a16659.png\" width=\"875\" \/><\/p>\n<h5 id=\"%23%E5%AF%B9%E6%AF%94%E5%89%8D%E5%90%8Eyum%E6%BA%90\">#\u5bf9\u6bd4\u524d\u540eyum\u6e90<\/h5>\n<p>\u67e5\u770b\u5f53\u524d\u7684yum\u6e90<\/p>\n<p>ls \/etc\/yum.repos.d\/ -al<\/p>\n<h5 id=\"%23%E5%AE%89%E8%A3%85yum%E6%BA%90\">#\u5b89\u88c5yum\u6e90<\/h5>\n<p>sudo rpm -Uvh \u4e0b\u8f7d\u5230\u7684rpm\u5305 <\/p>\n<h5 id=\"%23%E5%AF%B9%E6%AF%94%E5%89%8D%E5%90%8Eyum%E6%BA%90\">#\u5bf9\u6bd4\u524d\u540eyum\u6e90<\/h5>\n<p>\u53ef\u4ee5\u518d\u6b21\u6267\u884c\u67e5\u770byum\u6e90\u64cd\u4f5c&#xff0c;\u5224\u65adyum\u5b89\u88c5\u662f\u5426\u6210\u529f<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"64\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250506091610-6819d35a40298.png\" width=\"972\" \/><\/p>\n<h5 id=\"%23%E5%AE%89%E8%A3%85mysql%E6%9C%8D%E5%8A%A1%C2%A0\">#\u5b89\u88c5mysql\u670d\u52a1\u00a0<\/h5>\n<p>sudo yum install -y mysql-community-server<\/p>\n<p>\u5b89\u88c5\u7684\u65f6\u5019&#xff0c;\u4f1a\u5f39\u51fa\u5b89\u88c5\u51e0\u4e2a\u4e0d\u540c\u7a0b\u5e8f&#xff0c;\u5b83\u4eec\u90fd\u662fMySQL\u7684\u76f8\u5173\u5de5\u5177<\/p>\n<p>Installing : mysql-community-common-5.7.33-1.el7.x86_64 #\u516c\u5171\u6a21\u5757<br \/>\nInstalling : mysql-community-libs-5.7.33-1.el7.x86_64 #\u5e93<br \/>\nInstalling : mysql-community-client-5.7.33-1.el7.x86_64 #\u5ba2\u6237\u7aef<br \/>\nInstalling : mysql-community-server-5.7.33-1.el7.x86_64 #\u670d\u52a1\u5668 <\/p>\n<h5 id=\"%C2%A0%23%E6%9F%A5%E7%9C%8B%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6\">\u00a0#\u67e5\u770b\u914d\u7f6e\u6587\u4ef6<\/h5>\n<p>\u8fd9\u4e00\u6b65\u7684\u4e3b\u8981\u76ee\u7684\u662f\u5224\u65ad\u5b89\u88c5\u662f\u5426\u6210\u529f<\/p>\n<p>ls \/etc\/my.cnf \/\/\u67e5\u770bMySQL\u7684\u914d\u7f6e\u6587\u4ef6<br \/>\nsudo ls \/var\/lib\/mysql \/\/\u8fd9\u91cc\u5b58\u653e\u7684\u662f\u6570\u636e\u5e93\u7684\u6587\u4ef6 <\/p>\n<h5 id=\"%23%E5%90%AF%E5%8A%A8%E6%9C%8D%E5%8A%A1%C2%A0\">#\u542f\u52a8\u670d\u52a1\u00a0<\/h5>\n<p>systemctl start mysqld.service <\/p>\n<h5 id=\"%23%E6%9F%A5%E7%9C%8B%E5%90%AF%E5%8A%A8%E6%9C%8D%E5%8A%A1%C2%A0\">#\u67e5\u770b\u542f\u52a8\u670d\u52a1\u00a0<\/h5>\n<p>ps axj |grep mysql <\/p>\n<p>\u00a0\u81f3\u6b64\u6211\u4eec\u7684\u5b89\u88c5MySQL\u670d\u52a1\u7684\u6b65\u9aa4\u5df2\u7ecf\u5168\u90e8\u5b8c\u6210\u4e86&#xff0c;\u4f46\u662f\u63a5\u4e0b\u6765\u6211\u4eec\u8fd8\u9700\u8981\u5bf9\u6211\u4eec\u7684MySQL\u8fdb\u884c\u914d\u7f6e\u4e0e\u767b\u9646<\/p>\n<h3 id=\"1.13%20MySQL%E7%9A%84%E7%AE%80%E5%8D%95%E9%85%8D%E7%BD%AE%E4%B8%8E%E7%99%BB%E9%99%86\">1.13 MySQL\u7684\u7b80\u5355\u914d\u7f6e\u4e0e\u767b\u9646<\/h3>\n<h4 id=\"%E5%B8%B8%E8%A7%84%E7%99%BB%E5%BD%95\">\u5e38\u89c4\u767b\u5f55<\/h4>\n<p>\u767b\u5f55\u8bed\u6cd5&#xff1a;<\/p>\n<p>mysql -uroot -p <\/p>\n<p>\u6b64\u65f6\u53d1\u73b0\u9700\u8981\u8f93\u5bc6\u7801&#xff1a; \u2fb8\u6b21\u5b89\u88c5\u6210\u529f&#xff0c;\u5bc6\u7801\u53ef\u80fd\u4e3a\u4ee5\u4e0b\u51e0\u79cd\u60c5\u51b5&#xff1a;<\/p>\n<li>\n<p>MySQL\u628aroot\u2f64\u2f3e\u7684\u9ed8\u8ba4\u5bc6\u7801\u4fdd\u5b58\u5728\u4e34\u65f6\u2f47\u5fd7\u4e2d<\/p>\n<\/li>\n<h5 id=\"%E9%80%9A%E8%BF%87%E6%97%A5%E5%BF%97%E6%9F%A5%E7%9C%8B%E5%AF%86%E7%A0%81%EF%BC%9A\">\u901a\u8fc7\u65e5\u5fd7\u67e5\u770b\u5bc6\u7801&#xff1a;<\/h5>\n<p>grep &#039;temporary password&#039; \/var\/log\/mysqld.log <\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0\u5f53\u7136\u7531\u4e8e\u6211\u7684\u670d\u52a1\u5668\u914d\u7f6e\u4e0d\u4e3aCentOS&#xff0c;\u6240\u4ee5\u65e0\u6cd5\u6f14\u793a\u4e86\u3002<\/p>\n<h5 id=\"%E8%8B%A5%E4%B8%8D%E5%AD%98%E5%9C%A8%E6%97%A5%E5%BF%97%E7%9A%84%E8%AF%9D%EF%BC%9A%E5%8F%AF%E8%83%BD%E6%98%AF%E4%B8%8D%E7%94%A8%E8%BE%93%E5%85%A5%E5%AF%86%E7%A0%81%E7%9B%B4%E6%8E%A5%E5%9B%9E%E8%BD%A6%E5%B0%B1%E8%83%BD%E7%9B%B4%E6%8E%A5%E7%99%BB%E5%BD%95%E8%BF%9B%E5%8E%BB\">\u82e5\u4e0d\u5b58\u5728\u65e5\u5fd7\u7684\u8bdd&#xff1a;\u53ef\u80fd\u662f\u4e0d\u7528\u8f93\u5165\u5bc6\u7801\u76f4\u63a5\u56de\u8f66\u5c31\u80fd\u76f4\u63a5\u767b\u5f55\u8fdb\u53bb<\/h5>\n<h5 id=\"%E5%80%98%E8%8B%A5%E8%BF%98%E4%B8%8D%E8%A1%8C%E5%B0%B1%E4%BF%AE%E6%94%B9mysql%E7%9A%84%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%EF%BC%9A\">\u5018\u82e5\u8fd8\u4e0d\u884c\u5c31\u4fee\u6539mysql\u7684\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/h5>\n<p>vim \/etc\/my.cnf #\u6253\u5f00mysql\u914d\u7f6e\u6587\u4ef6<br \/>\n#\u5728\u6700\u540e\u4e00\u680f\u914d\u7f6e\u52a0\u5165\u9009\u9879&#xff1a;<br \/>\nskip-grand-tables #\u8df3\u8fc7\u5bc6\u7801\u8ba4\u8bc1 <\/p>\n<p>\u91cd\u542fmysql\u670d\u52a1\u6216\u8005\u5148\u5173\u95ed\u670d\u52a1\u518d\u5f00\u542f&#xff0c;\u4f7f\u914d\u7f6e\u6587\u4ef6\u751f\u6548&#xff1a;<\/p>\n<p> 1 systemctl restart mysqld #\u91cd\u542f<\/p>\n<p>#\u6216\u8005\u5148\u5173\u95ed\u5728\u5f00\u542f<br \/>\n1 systemctl stop mysqld<br \/>\n2 systemctl start mysqld<br \/>\n# \u518d\u6253\u5f00\u5c31\u76f4\u63a5\u56de\u8f66\u5373\u53ef\u8fdb\u5165<br \/>\n3 mysql -uroot -p #-u\u540e\u9762\u52a0\u7528\u6237 <\/p>\n<h3 id=\"%E7%AE%80%E5%8D%95%E9%85%8D%E7%BD%AE\">\u7b80\u5355\u914d\u7f6e<\/h3>\n<p>\u540c\u6837\u5728 \/etc\/my.cnf\u6587\u4ef6\u4e2d\u8bbe\u7f6e \u6dfb\u52a0\u5982\u4e0b\u9009\u9879&#xff08;\u8bbe\u7f6e\u7aef\u53e3\u3001\u7f16\u7801\u65b9\u5f0f\u548c\u5f15\u64ce&#xff09;&#xff1a;<\/p>\n<p>port&#061;3306 #\u670d\u52a1\u7aef\u53e3\u53f7<br \/>\ndatadir&#061;\/var\/lib\/mysql #\u6570\u636e\u5b58\u50a8\u8def\u5f84<br \/>\nsocket&#061;\/var\/lib\/mysql\/mysql.sock #Socket\u6587\u4ef6<\/p>\n<p>symbolic-links&#061;0 #\u7981\u7528\u901a\u8fc7\u7b26\u53f7\u94fe\u63a5\u8bbf\u95ee\u5916\u90e8\u76ee\u5f55&#xff0c;\u63d0\u9ad8\u5b89\u5168<br \/>\nlog-error&#061;\/var\/log\/mysqld.log<br \/>\npid-file&#061;\/var\/run\/mysqld\/mysqld.pid #\u65e5\u5fd7\u7684\u4f4d\u7f6e<\/p>\n<p>character-set-server&#061;utf8  #\u5b57\u7b26\u96c6\u89c4\u8303<br \/>\ndefault-storage-engine&#061;innodb #\u5b58\u50a8\u5f15\u64ce\u914d\u7f6e <\/p>\n<p><span style=\"color:#fe2c24\">\u8fd9\u4e9b\u9009\u9879\u53ef\u4ee5\u76f4\u63a5\u590d\u5236\u5230\u914d\u7f6e\u6587\u4ef6\u5f53\u4e2d&#xff0c;\u4f46\u662f\u4e0d\u8981\u5e26\u4e0a\u4e2d\u6587\u3002\u00a0<\/span><\/p>\n<hr \/>\n<h3 id=\"1.2Ubuntu%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E4%B8%8B%E7%9A%84%E5%AE%89%E8%A3%85%E6%B5%81%E7%A8%8B\"><span style=\"color:#0d0016\">1.2Ubuntu\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u7684\u5b89\u88c5\u6d41\u7a0b<\/span><\/h3>\n<h4 id=\"1%E3%80%81%E6%9B%B4%E6%96%B0%E7%B3%BB%E7%BB%9F%E7%9A%84%E8%BD%AF%E4%BB%B6%E5%8C%85%E5%88%97%E8%A1%A8\">1\u3001\u66f4\u65b0\u7cfb\u7edf\u7684\u8f6f\u4ef6\u5305\u5217\u8868<\/h4>\n<p>sudo apt-get update <\/p>\n<h4 id=\"2%E3%80%81%E5%AE%89%E8%A3%85MySQL\">2\u3001\u5b89\u88c5MySQL<\/h4>\n<p>sudo apt-get install mysql-server <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"661\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250506091610-6819d35a4ba82.png\" width=\"1730\" \/>\u00a0<\/p>\n<h4 id=\"3%E3%80%81%E6%A3%80%E6%9F%A5MySQL%E6%9C%8D%E5%8A%A1%E6%98%AF%E5%90%A6%E5%90%AF%E5%8A%A8%EF%BC%8C%E8%8B%A5%E6%B2%A1%E6%9C%89%E5%90%AF%E5%8A%A8%E6%89%8B%E5%8A%A8%E5%90%AF%E5%8A%A8%C2%A0\">3\u3001\u68c0\u67e5MySQL\u670d\u52a1\u662f\u5426\u542f\u52a8&#xff0c;\u82e5\u6ca1\u6709\u542f\u52a8\u624b\u52a8\u542f\u52a8\u00a0<\/h4>\n<p>ps axj | grep mysql #\u68c0\u67e5\u6307\u4ee4 <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"72\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250506091610-6819d35ac3301.png\" width=\"969\" \/>\u00a0<\/p>\n<p>\u82e5\u6ca1\u6709\u542f\u52a8&#xff0c;\u5219\u6267\u884c\u4e0b\u9762\u6307\u4ee4&#xff1a;\u00a0<\/p>\n<p>sudo service mysql start <\/p>\n<h4 id=\"4%E3%80%81%E7%99%BB%E5%BD%95MySQL%EF%BC%88%E9%BB%98%E8%AE%A4%E5%AE%89%E8%A3%85%E4%B9%8B%E5%90%8E%E4%B8%8D%E9%9C%80%E8%A6%81%E5%AF%86%E7%A0%81%E5%B0%B1%E5%8F%AF%E7%99%BB%E5%BD%95%EF%BC%89%C2%A0\">4\u3001\u767b\u5f55MySQL&#xff08;\u9ed8\u8ba4\u5b89\u88c5\u4e4b\u540e\u4e0d\u9700\u8981\u5bc6\u7801\u5c31\u53ef\u767b\u5f55&#xff09;\u00a0<\/h4>\n<p>\u76f4\u63a5\u6267\u884c\u4e0b\u9762\u7684\u6307\u4ee4<\/p>\n<p>sudo mysql <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"400\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250506091610-6819d35acf5dd.png\" width=\"962\" \/>\u00a0<\/p>\n<p>\u5f53\u7136\u5173\u4e8eMySQL\u7684\u8d26\u53f7\u7ba1\u7406\u6211\u4f1a\u5728\u540e\u9762&#xff0c;\u4e13\u95e8\u6709\u7bc7\u535a\u5ba2\u4ecb\u7ecd&#xff0c;\u8fd9\u91cc\u4e3b\u8981\u662f\u5b89\u88c5\u4e0e\u767b\u9646\u3002<\/p>\n<hr \/>\n<h2 id=\"%C2%A0%C2%A0%E6%80%BB%E7%BB%93%EF%BC%9A\">\u00a0\u00a0\u603b\u7ed3&#xff1a;<\/h2>\n<p>\u7ecf\u8fc7\u5bf9CentOS\u4e0eUbuntu\u4e24\u5927\u4e3b\u6d41Linux\u53d1\u884c\u7248\u7684MySQL\u5b89\u88c5\u8be6\u89e3&#xff0c;\u6211\u4eec\u5df2\u638c\u63e1\u5728\u4e0d\u540c\u73af\u5883\u4e0b\u6784\u5efa\u6570\u636e\u5e93\u670d\u52a1\u7684\u6838\u5fc3\u65b9\u6cd5&#xff0c;\u4f46\u8fd9\u4ec5\u4ec5\u662f\u6570\u636e\u5e93\u5f81\u9014\u7684\u8d77\u70b9&#xff0c;\u5728\u4e0b\u671f\u6211\u4eec\u5c06\u4f1a\u4e86\u89e3MySQL\u7684\u7b2c\u4e00\u4e2a\u91cd\u8981\u6982\u5ff5&#8212;\u6570\u636e\u5e93\u3002\u6211\u4eec\u4e0b\u671f\u89c1&#xff0c;<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"65\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250506091610-6819d35aef314.png\" width=\"139\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"300\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250506091611-6819d35b002b1.png\" width=\"300\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb945\u6b21\uff0c\u70b9\u8d5e27\u6b21\uff0c\u6536\u85cf12\u6b21\u3002\u5728\u5f53\u4eca\u6570\u636e\u9a71\u52a8\u7684\u65f6\u4ee3\uff0c\u638c\u63e1\u6570\u636e\u5e93\u6280\u672f\u5df2\u6210\u4e3a\u5f00\u53d1\u8005\u5fc5\u5907\u7684\u6838\u5fc3\u6280\u80fd\u3002\u4f5c\u4e3a\u5168\u7403\u6700\u53d7\u6b22\u8fce\u7684\u5f00\u6e90\u5173\u7cfb\u578b\u6570\u636e\u5e93\uff0cMySQL\u627f\u8f7d\u7740\u6dd8\u5b9d\u53cc\u5341\u4e00\u6bcf\u79d250\u4e07\u6b21\u7684\u4ea4\u6613\u8bf7\u6c42\uff0c\u652f\u6491\u7740Facebook\u767e\u4ebf\u7ea7\u7684\u6570\u636e\u5b58\u50a8\uff0c\u66f4\u662f\u65e0\u6570\u4e92\u8054\u7f51\u4f01\u4e1a\u7684\u6570\u636e\u57fa\u77f3\u3002\u672c\u7cfb\u5217\u6559\u7a0b\u5c06\u4ece\u96f6\u5f00\u59cb\uff0c\u5e26\u60a8\u5f00\u542fMySQL\u7684\u63a2\u7d22\u4e4b\u65c5\u3002\u300a\u57fa\u7840\u7bc7\u00b7\u5b89\u88c5\u300b\u4f5c\u4e3a\u7cfb\u5217\u9996\u7ae0\uff0c\u5c06\u4e3a\u60a8\u626b\u6e05\u5b66\u4e60\u9053\u8def\u4e0a\u7684\u7b2c\u4e00\u4e2a\u969c\u788d\u3002        \u5982\u679c\u67e5\u8be2\u7684\u7ed3\u679c\u5df2\u5b89\u88c5\uff0c\u90a3\u5c31\u4e0d\u7528\u770b\u63a5\u4e0b\u4e86\u7684\u6b65\u9aa4\u4e86\u3002\u8fd9\u662f\u672c\u4eba\u670d\u52a1\u5668\u4e0a\u5df2\u7ecf\u5b89\u88c5\u4e86\u7684\u622a\u56fe          1.12 \u6b63\u5f0f\u5b89\u88c5\u6d41\u7a0b \u5b98\u65b9\u5b89\u88c5MySQL\u7684yum\u6e90\u6ce8_mysql\u5b89\u88c5\u5728\u54ea\u91cc\u770b\u5b89\u88c5\u65e5\u5fd7<\/p>\n","protected":false},"author":2,"featured_media":35772,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,114,100,43],"topic":[],"class_list":["post-35783","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-linux","tag-mysql","tag-100","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>MySQL \u7b2c\u4e00\u8bb2-\u57fa\u7840\u7bc7 \u5b89\u88c5 - \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\/35783.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MySQL \u7b2c\u4e00\u8bb2-\u57fa\u7840\u7bc7 \u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb945\u6b21\uff0c\u70b9\u8d5e27\u6b21\uff0c\u6536\u85cf12\u6b21\u3002\u5728\u5f53\u4eca\u6570\u636e\u9a71\u52a8\u7684\u65f6\u4ee3\uff0c\u638c\u63e1\u6570\u636e\u5e93\u6280\u672f\u5df2\u6210\u4e3a\u5f00\u53d1\u8005\u5fc5\u5907\u7684\u6838\u5fc3\u6280\u80fd\u3002\u4f5c\u4e3a\u5168\u7403\u6700\u53d7\u6b22\u8fce\u7684\u5f00\u6e90\u5173\u7cfb\u578b\u6570\u636e\u5e93\uff0cMySQL\u627f\u8f7d\u7740\u6dd8\u5b9d\u53cc\u5341\u4e00\u6bcf\u79d250\u4e07\u6b21\u7684\u4ea4\u6613\u8bf7\u6c42\uff0c\u652f\u6491\u7740Facebook\u767e\u4ebf\u7ea7\u7684\u6570\u636e\u5b58\u50a8\uff0c\u66f4\u662f\u65e0\u6570\u4e92\u8054\u7f51\u4f01\u4e1a\u7684\u6570\u636e\u57fa\u77f3\u3002\u672c\u7cfb\u5217\u6559\u7a0b\u5c06\u4ece\u96f6\u5f00\u59cb\uff0c\u5e26\u60a8\u5f00\u542fMySQL\u7684\u63a2\u7d22\u4e4b\u65c5\u3002\u300a\u57fa\u7840\u7bc7\u00b7\u5b89\u88c5\u300b\u4f5c\u4e3a\u7cfb\u5217\u9996\u7ae0\uff0c\u5c06\u4e3a\u60a8\u626b\u6e05\u5b66\u4e60\u9053\u8def\u4e0a\u7684\u7b2c\u4e00\u4e2a\u969c\u788d\u3002    \u5982\u679c\u67e5\u8be2\u7684\u7ed3\u679c\u5df2\u5b89\u88c5\uff0c\u90a3\u5c31\u4e0d\u7528\u770b\u63a5\u4e0b\u4e86\u7684\u6b65\u9aa4\u4e86\u3002\u8fd9\u662f\u672c\u4eba\u670d\u52a1\u5668\u4e0a\u5df2\u7ecf\u5b89\u88c5\u4e86\u7684\u622a\u56fe     1.12 \u6b63\u5f0f\u5b89\u88c5\u6d41\u7a0b \u5b98\u65b9\u5b89\u88c5MySQL\u7684yum\u6e90\u6ce8_mysql\u5b89\u88c5\u5728\u54ea\u91cc\u770b\u5b89\u88c5\u65e5\u5fd7\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/35783.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-06T09:16:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250506091609-6819d359a5d17.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=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/35783.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/35783.html\",\"name\":\"MySQL \u7b2c\u4e00\u8bb2-\u57fa\u7840\u7bc7 \u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-06T09:16:12+00:00\",\"dateModified\":\"2025-05-06T09:16:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/35783.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/35783.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/35783.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MySQL \u7b2c\u4e00\u8bb2---\u57fa\u7840\u7bc7 \u5b89\u88c5\"}]},{\"@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":"MySQL \u7b2c\u4e00\u8bb2-\u57fa\u7840\u7bc7 \u5b89\u88c5 - \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\/35783.html","og_locale":"zh_CN","og_type":"article","og_title":"MySQL \u7b2c\u4e00\u8bb2-\u57fa\u7840\u7bc7 \u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb945\u6b21\uff0c\u70b9\u8d5e27\u6b21\uff0c\u6536\u85cf12\u6b21\u3002\u5728\u5f53\u4eca\u6570\u636e\u9a71\u52a8\u7684\u65f6\u4ee3\uff0c\u638c\u63e1\u6570\u636e\u5e93\u6280\u672f\u5df2\u6210\u4e3a\u5f00\u53d1\u8005\u5fc5\u5907\u7684\u6838\u5fc3\u6280\u80fd\u3002\u4f5c\u4e3a\u5168\u7403\u6700\u53d7\u6b22\u8fce\u7684\u5f00\u6e90\u5173\u7cfb\u578b\u6570\u636e\u5e93\uff0cMySQL\u627f\u8f7d\u7740\u6dd8\u5b9d\u53cc\u5341\u4e00\u6bcf\u79d250\u4e07\u6b21\u7684\u4ea4\u6613\u8bf7\u6c42\uff0c\u652f\u6491\u7740Facebook\u767e\u4ebf\u7ea7\u7684\u6570\u636e\u5b58\u50a8\uff0c\u66f4\u662f\u65e0\u6570\u4e92\u8054\u7f51\u4f01\u4e1a\u7684\u6570\u636e\u57fa\u77f3\u3002\u672c\u7cfb\u5217\u6559\u7a0b\u5c06\u4ece\u96f6\u5f00\u59cb\uff0c\u5e26\u60a8\u5f00\u542fMySQL\u7684\u63a2\u7d22\u4e4b\u65c5\u3002\u300a\u57fa\u7840\u7bc7\u00b7\u5b89\u88c5\u300b\u4f5c\u4e3a\u7cfb\u5217\u9996\u7ae0\uff0c\u5c06\u4e3a\u60a8\u626b\u6e05\u5b66\u4e60\u9053\u8def\u4e0a\u7684\u7b2c\u4e00\u4e2a\u969c\u788d\u3002    \u5982\u679c\u67e5\u8be2\u7684\u7ed3\u679c\u5df2\u5b89\u88c5\uff0c\u90a3\u5c31\u4e0d\u7528\u770b\u63a5\u4e0b\u4e86\u7684\u6b65\u9aa4\u4e86\u3002\u8fd9\u662f\u672c\u4eba\u670d\u52a1\u5668\u4e0a\u5df2\u7ecf\u5b89\u88c5\u4e86\u7684\u622a\u56fe     1.12 \u6b63\u5f0f\u5b89\u88c5\u6d41\u7a0b \u5b98\u65b9\u5b89\u88c5MySQL\u7684yum\u6e90\u6ce8_mysql\u5b89\u88c5\u5728\u54ea\u91cc\u770b\u5b89\u88c5\u65e5\u5fd7","og_url":"https:\/\/www.wsisp.com\/helps\/35783.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-06T09:16:12+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250506091609-6819d359a5d17.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/35783.html","url":"https:\/\/www.wsisp.com\/helps\/35783.html","name":"MySQL \u7b2c\u4e00\u8bb2-\u57fa\u7840\u7bc7 \u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-06T09:16:12+00:00","dateModified":"2025-05-06T09:16:12+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/35783.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/35783.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/35783.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"MySQL \u7b2c\u4e00\u8bb2---\u57fa\u7840\u7bc7 \u5b89\u88c5"}]},{"@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\/35783","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=35783"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/35783\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/35772"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=35783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=35783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=35783"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=35783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}