{"id":294454,"date":"2024-11-20T04:06:27","date_gmt":"2024-11-19T20:06:27","guid":{"rendered":"https:\/\/lrxjmw.cn\/zwzqffqssxlx.html"},"modified":"2024-11-20T04:06:27","modified_gmt":"2024-11-19T20:06:27","slug":"zwzqffqssxlx","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/zwzqffqssxlx.html","title":{"rendered":"\u638c\u63e1\u6b63\u786e\u65b9\u6cd5\uff0c\u8f7b\u677e\u5b9e\u73b0 Linux \u7cfb\u7edf\u79bb\u7ebf\u5b89\u88c5 MySQL"},"content":{"rendered":"

Linux<\/a>\u7cfb\u7edf\u91cc\uff0cMySQL<\/a>\u662f\u4e00\u6b3e\u81f3\u5173\u91cd\u8981\u7684\u6570\u636e\u5e93\u7ba1\u7406\u5de5\u5177\u3002\u5728\u4f17\u591a\u60c5\u51b5\u4e0blinux\u5982\u4f55\u79bb\u7ebf\u5b89\u88c5<\/a>mysql<\/strong>\uff0c\u53d7\u9650\u4e8e\u7f51\u7edc\u72b6\u51b5\u7b49\u56e0\u7d20\uff0c\u6211\u4eec\u4e0d\u5f97\u4e0d\u9009\u62e9\u79bb\u7ebf\u5b89\u88c5MySQL\u3002\u867d\u7136\u8fd9\u542c\u8d77\u6765\u4f3c\u4e4e\u6709\u4e9b\u7e41\u7410\uff0c\u4f46\u53ea\u8981\u6211\u4eec\u638c\u63e1\u4e86\u6b63\u786e\u7684\u65b9\u6cd5\uff0c\u64cd\u4f5c\u8d77\u6765\u5176\u5b9e\u5e76\u4e0d\u590d\u6742\u3002<\/p>\n

\u51c6\u5907\u5de5\u4f5c<\/b><\/p>\n

\u6211\u4eec\u9700\u8981\u786e\u5b9a\u6536\u96c6\u7684\u8d44\u6e90\u6709\u54ea\u4e9b\u3002\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u8981\u83b7\u53d6MySQL\u7684\u5b89\u88c5\u5305\u53ca\u5176\u76f8\u5173\u4f9d\u8d56\u5305\u3002\u8fd9\u4e9b\u8d44\u6e90\u53ef\u4ee5\u4ece\u5b98\u65b9\u7ad9\u70b9\u6216\u5176\u5b83\u53ef\u9760\u7684\u4ed3\u5e93\u63d0\u524d\u4e0b\u8f7d\u3002\u6ce8\u610f\uff0c\u4e0b\u8f7d\u7684\u5b89\u88c5\u5305\u7248\u672c\u5fc5\u987b\u4e0e\u4f60\u7684Linux<\/a>\u7cfb\u7edf\u7248\u672c\u76f8\u5339\u914d\u3002\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662fCentOS\u7cfb\u7edf\uff0c\u5c31\u4e0d\u80fd\u4e0b\u8f7d\u4e3aUbuntu\u7cfb\u7edf\u51c6\u5907\u7684\u5b89\u88c5\u5305\u3002\u6b64\u5916\uff0c\u4e0b\u8f7d\u7684\u6240\u6709\u6587\u4ef6\u90fd\u5e94\u59a5\u5584\u4fdd\u5b58\uff0c\u5e76\u8bb0\u4f4f\u4fdd\u5b58\u7684\u8def\u5f84\uff0c\u8fd9\u5c06\u5bf9\u540e\u7eed\u7684\u5b89\u88c5\u6b65\u9aa4\u6709\u6240\u5e2e\u52a9\u3002\u8fd8\u6709\u4e00\u70b9\uff0c\u786e\u4fdd\u7cfb\u7edf\u5206\u533a\u6709\u8db3\u591f\u7684\u7a7a\u95f4\u6765\u5b58\u653e\u548c\u8fd0\u884cMySQL\uff0c\u8fd9\u4e5f\u662f\u4e00\u9879\u4e0d\u53ef\u6216\u7f3a\u7684\u51c6\u5907\u5de5\u4f5c\u3002<\/p>\n

\u5728\u641c\u96c6\u8fd9\u4e9b\u8d44\u6599\u7684\u540c\u65f6\uff0c\u4e0d\u59a8\u67e5\u9605\u4e00\u4e0b\u5b98\u65b9\u53d1\u5e03\u7684\u8be6\u7ec6\u8bf4\u660e\u3002\u5b98\u65b9\u6587\u6863\u72b9\u5982\u4e00\u672c\u8be6\u5c3d\u7684\u6307\u5bfc\u624b\u518c\uff0c\u867d\u7136\u89e3\u8bfb\u8d77\u6765\u53ef\u80fd\u7565\u663e\u5403\u529b\uff0c\u4f46\u65e0\u7591\u662f\u83b7\u53d6\u6743\u5a01\u4fe1\u606f\u7684\u6700\u4f73\u9014\u5f84\u3002\u5bf9\u4e8e\u521d\u5b66\u8005\u800c\u8a00\uff0c\u591a\u53c2\u7167\u5b98\u65b9\u6587\u6863\u80fd\u5e2e\u52a9\u4ed6\u4eec\u907f\u514d\u4e0d\u5c11\u4e0d\u5fc5\u8981\u7684\u9519\u8bef\u548c\u66f2\u6298\u3002<\/p>\n

\u79bb\u7ebf\u5b89\u88c5mysql5.7_\u79bb\u7ebf\u5b89\u88c5mysql_linux\u5982\u4f55\u79bb\u7ebf\u5b89\u88c5mysql<\/p>\n

\u68c0\u67e5\u7cfb\u7edf\u73af\u5883<\/b><\/p>\n

\u5728\u5b89\u88c5\u4e4b\u524d\uff0c\u68c0\u67e5\u7cfb\u7edf\u73af\u5883\u662f\u4e00\u9879\u81f3\u5173\u91cd\u8981\u7684\u6b65\u9aa4\u3002\u6211\u4eec\u5f97\u5148\u786e\u8ba4Linux\u7cfb\u7edf\u7684\u7248\u672c\u8be6\u60c5\uff0c\u6bd4\u5982\u5728CentOS\u7cfb\u7edf\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4<\/a>cat\/etc\/redhat-release\u6765\u67e5\u770b\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u4e0d\u540c\u7684Linux\u7248\u672c\u5bf9MySQL\u7684\u5b89\u88c5\u6761\u4ef6\u53ef\u80fd\u4f1a\u6709\u6240\u4e0d\u540c\u3002<\/p>\n

\u6211\u4eec\u9700\u786e\u8ba4\u7cfb\u7edf\u5185\u662f\u5426\u5df2\u5b89\u88c5\u4e0eMySQL\u76f8\u51b2\u7a81\u7684\u8f6f\u4ef6\u3002\u82e5\u5b58\u5728\u6b64\u7c7b\u8f6f\u4ef6\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u5148\u5378\u8f7d\u5b83\u4eec\u6216\u5347\u7ea7\u81f3\u65b0\u7248\u672c\u3002\u82e5\u7cfb\u7edf\u4e2d\u6709\u65e7\u7248\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\uff0c\u5b83\u53ef\u80fd\u4f1a\u59a8\u788dMySQL\u7684\u6b63\u5e38\u5b89\u88c5\u6216\u8fd0\u884c\uff0c\u5c31\u5982\u540c\u4e24\u4eba\u540c\u65f6\u5360\u636e\u540c\u4e00\u5ea7\u4f4d\uff0c\u5fc5\u7136\u5f15\u53d1\u51b2\u7a81\u3002\u56e0\u6b64\uff0c\u63d0\u524d\u5bf9\u7cfb\u7edf\u73af\u5883\u8fdb\u884c\u68c0\u67e5\uff0c\u6709\u52a9\u4e8e\u63d0\u5347MySQL\u79bb\u7ebf\u5b89\u88c5\u7684\u6210\u529f\u6982\u7387\u3002<\/p>\n

\u79bb\u7ebf\u5b89\u88c5mysql5.7_\u79bb\u7ebf\u5b89\u88c5mysql_linux\u5982\u4f55\u79bb\u7ebf\u5b89\u88c5mysql<\/p>\n

\u5b89\u88c5\u4f9d\u8d56\u5305<\/b><\/p>\n

\u5373\u4fbf\u662f\u5728\u6ca1\u6709\u7f51\u7edc\u7684\u60c5\u51b5\u4e0b\u5b89\u88c5MySQL\uff0c\u5fc5\u8981\u7684\u4f9d\u8d56\u5305\u540c\u6837\u4e0d\u80fd\u7f3a\u5c11\u3002\u7f3a\u5c11\u4e86\u8fd9\u4e9b\u4f9d\u8d56\u5305\uff0cMySQL\u7684\u5b89\u88c5\u548c\u8fd0\u884c\u90fd\u53ef\u80fd\u53d7\u5230\u5f71\u54cd\u3002\u5728\u8fd9\u4e2a\u9636\u6bb5\uff0c\u6211\u4eec\u7684\u9996\u8981\u4efb\u52a1\u662f\u786e\u5b9a\u90a3\u4e9b\u5df2\u7ecf\u4e0b\u8f7d\u597d\u7684\u4f9d\u8d56\u5305\u5b58\u653e\u7684\u5177\u4f53\u4f4d\u7f6e\u3002<\/p>\n

\u89e3\u538b\u8fd9\u4e9b\u4f9d\u8d56\u5305linux\u7cfb\u7edf\u5165\u95e8\u5b66\u4e60\uff0c\u7136\u540e\u6309\u987a\u5e8f\u5b89\u88c5\u3002\u6ce8\u610f\uff0c\u6709\u4e9b\u4f9d\u8d56\u5305\u5b89\u88c5\u65f6\u9700\u8981\u7ba1\u7406\u5458\u6743\u9650\uff0c\u5f97\u7528sudo\u547d\u4ee4\u3002\u8fd9\u4e2a\u8fc7\u7a0b\uff0c\u5c31\u50cf\u7ed9\u5927\u697c\u6253\u5730\u57fa\uff0c\u5730\u57fa\u624e\u5b9e\u4e86\uff0c\u5927\u697c\u624d\u4e0d\u4f1a\u8f7b\u6613\u5012\u584c\u3002\u82e5\u5ffd\u7565\u4e86\u4f9d\u8d56\u5305\u7684\u5b89\u88c5\uff0cMySQL\u5728\u4f7f\u7528\u65f6\u53ef\u80fd\u4f1a\u51fa\u73b0\u5404\u79cd\u95ee\u9898\uff0c\u6bd4\u5982\u8fde\u63a5\u6570\u636e\u5e93\u5931\u8d25\u6216\u8fd0\u884c\u901f\u5ea6\u6781\u6162\u7b49\u3002<\/p>\n

\u89e3\u538bMySQL\u5b89\u88c5\u5305<\/b><\/p>\n

\u5b89\u88c5MySQL\u79bb\u7ebf\u5305\u540e\uff0c\u5fc5\u987b\u5148\u8fdb\u884c\u89e3\u538b\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u5c31\u50cf\u6253\u5f00\u4e00\u4e2a\u795e\u79d8\u7684\u793c\u7269\u3002\u901a\u5e38\uff0c\u6211\u4eec\u53ef\u4ee5\u5728\u7ec8\u7aef\u8f93\u5165\u7279\u5b9a\u7684\u6307\u4ee4\u6765\u5b8c\u6210\u89e3\u538b\u3002<\/p>\n

\u5b89\u88c5\u5305\u7684\u683c\u5f0f\u591a\u6837\uff0c\u76f8\u5e94\u7684\u89e3\u538b\u6307\u4ee4\u4e5f\u4e0d\u5c3d\u76f8\u540c\u3002\u6bd4\u5982\uff0c\u9047\u5230tar.gz\u683c\u5f0f\u7684\u5b89\u88c5\u5305\uff0c\u5c31\u53ef\u4ee5\u7528tar-zxvf\u547d\u4ee4\u6765\u89e3\u538b\u3002\u89e3\u538b\u540e\u7684\u6587\u4ef6\u4f1a\u88ab\u5b58\u653e\u5230\u4e00\u4e2a\u7279\u5b9a\u76ee\u5f55\u4e2d\uff0c\u8fd9\u4e2a\u76ee\u5f55\u6211\u4eec\u9700\u8981\u7262\u8bb0\uff0c\u56e0\u4e3a\u540e\u7eed\u64cd\u4f5c\u4f1a\u6d89\u53ca\u8fd9\u4e2a\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u3002\u6b64\u5916\uff0c\u89e3\u538b\u540e\u7684\u6587\u4ef6\u82e5\u51fa\u73b0\u635f\u574f\uff0c\u53ef\u80fd\u4f1a\u5f15\u8d77\u5b89\u88c5\u5931\u8d25\uff0c\u56e0\u6b64\u5fc5\u987b\u786e\u4fdd\u89e3\u538b\u8fc7\u7a0b\u987a\u5229\u8fdb\u884c\u3002<\/p>\n

\u5b89\u88c5MySQL<\/b><\/p>\n

\u5b89\u88c5\u73af\u8282\u662f\u79bb\u7ebf\u5b89\u88c5MySQL\u7684\u5173\u952e\u6b65\u9aa4\u3002\u9996\u5148\uff0c\u8981\u5728\u7ec8\u7aef\u91cc\u5207\u6362\u5230\u89e3\u538b\u540e\u7684MySQL\u5b89\u88c5\u6587\u4ef6\u6240\u5728\u76ee\u5f55\u3002\u63a5\u4e0b\u6765\uff0c\u6267\u884c\u76f8\u5e94\u7684\u5b89\u88c5\u547d\u4ee4\u3002\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u80fd\u4f1a\u51fa\u73b0\u8981\u6c42\u8f93\u5165\u5fc5\u8981\u4fe1\u606f\u7684\u63d0\u793a\uff0c\u6bd4\u5982\u8bbe\u7f6e\u8d85\u7ea7\u7528\u6237\u7684\u5bc6\u7801\u3002<\/p>\n

\u8bbe\u7f6e\u5bc6\u7801\u9700\u9075\u5faa\u5b89\u5168\u51c6\u5219\uff0c\u65e2\u8981\u786e\u4fdd\u5b89\u5168\uff0c\u53c8\u8981\u4fbf\u4e8e\u8bb0\u5fc6\u3002\u5b89\u88c5\u8fc7\u7a0b\u53ef\u80fd\u9887\u4e3a\u8017\u65f6\uff0c\u5b9b\u5982\u7cbe\u5fc3\u5236\u4f5c\u827a\u672f\u54c1\u3002\u82e5\u5b89\u88c5\u65f6\u51fa\u73b0\u9519\u8bef\u63d0\u793a\uff0c\u52a1\u5fc5\u4ed4\u7ec6\u8bb0\u5f55\u5e76\u9010\u4e00\u6392\u67e5\u3002\u5f80\u5f80\uff0c\u5ffd\u89c6\u5c0f\u9519\u8bef\u53ef\u80fd\u5bfc\u81f4\u5b89\u88c5\u7ed3\u679c\u4e25\u91cd\u53d7\u635f\u3002<\/p>\n

linux\u5982\u4f55\u79bb\u7ebf\u5b89\u88c5mysql_\u79bb\u7ebf\u5b89\u88c5mysql_\u79bb\u7ebf\u5b89\u88c5mysql5.7<\/p>\n

\u6d4b\u8bd5MySQL<\/b><\/p>\n

\u5b89\u88c5MySQL\u5b8c\u6210\u540e\uff0c\u6211\u4eec\u5fc5\u987b\u8fdb\u884c\u4e00\u756a\u6d4b\u8bd5\uff0c\u76ee\u7684\u662f\u9a8c\u8bc1\u5176\u80fd\u5426\u6b63\u5e38\u8fd0\u884c\u3002\u6d4b\u8bd5\u65b9\u6cd5\u5305\u62ec\u5efa\u7acb\u57fa\u7840\u7684\u6570\u636e\u5e93\u8fde\u63a5\u548c\u6267\u884c\u67e5\u8be2\u3002\u5177\u4f53\u64cd\u4f5c\u662f\u5728\u7ec8\u7aef\u8f93\u5165\u547d\u4ee4\u201cMySQL-uroot-p\u201dlinux\u901a\u914d\u7b26\uff0c\u968f\u540e\u8f93\u5165\u5bc6\u7801linux\u5982\u4f55\u79bb\u7ebf\u5b89\u88c5mysql<\/strong>\uff0c\u5373\u53ef\u8fdb\u5165MySQL\u7684\u547d\u4ee4\u884c\u754c\u9762\u3002<\/p>\n

\u6210\u529f\u8fdb\u5165\u547d\u4ee4\u884c\u754c\u9762\u5e76\u6267\u884c\u57fa\u7840\u64cd\u4f5c\uff0c\u610f\u5473\u7740\u5b89\u88c5\u5927\u4f53\u4e0a\u5df2\u987a\u5229\u5b8c\u6210\u3002\u82e5\u9047\u5230\u8fde\u63a5\u6545\u969c\u6216\u64cd\u4f5c\u5931\u8bef\u7b49\u95ee\u9898\uff0c\u9700\u4f9d\u636e\u9519\u8bef\u63d0\u793a\u8fdb\u884c\u6545\u969c\u6392\u67e5\u3002\u6bd4\u5982\uff0c\u53ef\u80fd\u662f\u5b89\u88c5\u65f6\u914d\u7f6e\u6587\u4ef6\u8bbe\u7f6e\u6709\u8bef\u3002\u5728\u79bb\u7ebf\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u4f60\u662f\u5426\u9047\u5230\u8fc7\u68d8\u624b\u7684\u95ee\u9898\uff1f\u6b22\u8fce\u70b9\u8d5e\u3001\u8f6c\u53d1\u6b64\u7bc7\u6587\u7ae0\uff0c\u5e76\u5728\u8bc4\u8bba\u533a\u70ed\u70c8\u4ea4\u6d41\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u6b64\u5916\uff0c\u4e0b\u8f7d\u7684\u6240\u6709\u6587\u4ef6\u90fd\u5e94\u59a5\u5584\u4fdd\u5b58\uff0c\u5e76\u8bb0\u4f4f\u4fdd\u5b58\u7684\u8def\u5f84\uff0c\u8fd9\u5c06\u5bf9\u540e\u7eed\u7684\u5b89\u88c5\u6b65\u9aa4\u6709\u6240\u5e2e\u52a9\u3002\u56e0\u6b64\uff0c\u63d0\u524d\u5bf9\u7cfb\u7edf\u73af\u5883\u8fdb\u884c\u68c0\u67e5\uff0c\u6709\u52a9\u4e8e\u63d0\u5347MySQL\u79bb\u7ebf\u5b89\u88c5\u7684\u6210\u529f\u6982\u7387\u3002\u5b89\u88c5\u73af\u8282\u662f\u79bb\u7ebf\u5b89\u88c5MySQL\u7684\u5173\u952e\u6b65\u9aa4\u3002\u6d4b\u8bd5\u65b9\u6cd5\u5305\u62ec\u5efa\u7acb\u57fa\u7840\u7684\u6570\u636e\u5e93\u8fde\u63a5\u548c\u6267\u884c\u67e5\u8be2\u3002<\/p>\n","protected":false},"author":1,"featured_media":294455,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[109,187,3358,144,1404],"class_list":["post-294454","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-linux","tag-mysql","tag-ylb","tag-144","tag-sjk"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=294454"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294454\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/294455"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=294454"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=294454"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=294454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}