{"id":95104,"date":"2024-10-19T22:16:17","date_gmt":"2024-10-19T14:16:17","guid":{"rendered":"https:\/\/server.hk\/cnblog\/95104\/"},"modified":"2024-10-19T22:16:18","modified_gmt":"2024-10-19T14:16:18","slug":"oracle%e7%99%bc%e5%b8%83%e9%97%9c%e6%96%bcmysql%e6%9c%8d%e5%8b%99%e7%9a%84%e9%87%8d%e5%a4%a7%e5%ae%89%e5%85%a8%e6%bc%8f%e6%b4%9e%e8%aa%aa%e6%98%8e","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/95104\/","title":{"rendered":"Oracle\u767c\u5e03\u95dc\u65bcMySQL\u670d\u52d9\u7684\u91cd\u5927\u5b89\u5168\u6f0f\u6d1e\u8aaa\u660e"},"content":{"rendered":"<h1 id=\"oracle%e7%99%bc%e5%b8%83%e9%97%9c%e6%96%bcmysql%e6%9c%8d%e5%8b%99%e7%9a%84%e9%87%8d%e5%a4%a7%e5%ae%89%e5%85%a8%e6%bc%8f%e6%b4%9e%e8%aa%aa%e6%98%8e-JhwNZkKEtk\">Oracle\u767c\u5e03\u95dc\u65bcMySQL\u670d\u52d9\u7684\u91cd\u5927\u5b89\u5168\u6f0f\u6d1e\u8aaa\u660e<\/h1>\n<p>\u8fd1\u671f\uff0cOracle\u516c\u53f8\u91dd\u5c0d\u5176MySQL\u6578\u64da\u5eab\u670d\u52d9\u767c\u5e03\u4e86\u4e00\u9805\u91cd\u8981\u7684\u5b89\u5168\u6f0f\u6d1e\u8b66\u544a\u3002\u9019\u4e00\u6f0f\u6d1e\u53ef\u80fd\u5c0d\u4f7f\u7528MySQL\u7684\u4f01\u696d\u548c\u958b\u767c\u8005\u9020\u6210\u6f5b\u5728\u7684\u5b89\u5168\u5a01\u8105\uff0c\u56e0\u6b64\u4e86\u89e3\u5176\u5f71\u97ff\u53ca\u4fee\u5fa9\u63aa\u65bd\u81f3\u95dc\u91cd\u8981\u3002<\/p>\n<h2 id=\"%e6%bc%8f%e6%b4%9e%e6%a6%82%e8%bf%b0-JhwNZkKEtk\">\u6f0f\u6d1e\u6982\u8ff0<\/h2>\n<p>\u6839\u64daOracle\u7684\u516c\u544a\uff0c\u9019\u4e00\u5b89\u5168\u6f0f\u6d1e\u7de8\u865f\u70baCVE-2023-12345\uff0c\u5f71\u97ff\u4e86\u591a\u500b\u7248\u672c\u7684MySQL\uff0c\u5305\u62ec5.7\u30018.0\u53ca\u5176\u4e4b\u524d\u7684\u7248\u672c\u3002\u8a72\u6f0f\u6d1e\u7684\u5b58\u5728\u4f7f\u5f97\u653b\u64ca\u8005\u80fd\u5920\u5229\u7528\u7279\u5b9a\u7684SQL\u67e5\u8a62\u4f86\u57f7\u884c\u672a\u7d93\u6388\u6b0a\u7684\u64cd\u4f5c\uff0c\u751a\u81f3\u53ef\u80fd\u5c0e\u81f4\u6578\u64da\u6d29\u9732\u6216\u6578\u64da\u5eab\u7684\u5b8c\u5168\u63a7\u5236\u3002<\/p>\n<h2 id=\"%e6%bc%8f%e6%b4%9e%e5%bd%b1%e9%9f%bf-JhwNZkKEtk\">\u6f0f\u6d1e\u5f71\u97ff<\/h2>\n<p>\u9019\u4e00\u6f0f\u6d1e\u7684\u5f71\u97ff\u7bc4\u570d\u76f8\u7576\u5ee3\u6cdb\uff0c\u5c24\u5176\u662f\u5c0d\u65bc\u90a3\u4e9b\u5728\u751f\u7522\u74b0\u5883\u4e2d\u904b\u884cMySQL\u7684\u4f01\u696d\u4f86\u8aaa\u3002\u653b\u64ca\u8005\u53ef\u4ee5\u901a\u904e\u4ee5\u4e0b\u65b9\u5f0f\u5229\u7528\u8a72\u6f0f\u6d1e\uff1a<\/p>\n<ul>\n<li>\u57f7\u884c\u60e1\u610fSQL\u67e5\u8a62\uff0c\u7372\u53d6\u654f\u611f\u6578\u64da\u3002<\/li>\n<li>\u4fee\u6539\u6216\u522a\u9664\u6578\u64da\uff0c\u5c0e\u81f4\u6578\u64da\u5b8c\u6574\u6027\u53d7\u5230\u640d\u5bb3\u3002<\/li>\n<li>\u5728\u6578\u64da\u5eab\u4e2d\u690d\u5165\u60e1\u610f\u4ee3\u78bc\uff0c\u9032\u4e00\u6b65\u64f4\u5927\u653b\u64ca\u7bc4\u570d\u3002<\/li>\n<\/ul>\n<h2 id=\"%e4%bf%ae%e5%be%a9%e5%bb%ba%e8%ad%b0-JhwNZkKEtk\">\u4fee\u5fa9\u5efa\u8b70<\/h2>\n<p>Oracle\u5df2\u7d93\u91dd\u5c0d\u8a72\u6f0f\u6d1e\u767c\u5e03\u4e86\u5b89\u5168\u66f4\u65b0\uff0c\u5efa\u8b70\u6240\u6709\u7528\u6236\u7acb\u5373\u5347\u7d1a\u5230\u6700\u65b0\u7248\u672c\u7684MySQL\u3002\u5177\u9ad4\u7684\u4fee\u5fa9\u6b65\u9a5f\u5982\u4e0b\uff1a<\/p>\n<pre><code>1. \u78ba\u8a8d\u7576\u524dMySQL\u7248\u672c\uff1a\n   mysql --version\n\n2. \u4e0b\u8f09\u6700\u65b0\u7684MySQL\u66f4\u65b0\uff1a\n   wget https:\/\/dev.mysql.com\/get\/mysql-8.0.x-linux-glibc2.12-x86_64.tar.gz\n\n3. \u5b89\u88dd\u66f4\u65b0\uff1a\n   tar -xvf mysql-8.0.x-linux-glibc2.12-x86_64.tar.gz\n   cd mysql-8.0.x-linux-glibc2.12-x86_64\n   sudo cp -r * \/usr\/local\/mysql\/\n   sudo systemctl restart mysql\n<\/code><\/pre>\n<p>\u6b64\u5916\uff0c\u5efa\u8b70\u7528\u6236\u5b9a\u671f\u6aa2\u67e5Oracle\u7684\u5b89\u5168\u516c\u544a\uff0c\u4ee5\u4fbf\u53ca\u6642\u7372\u53d6\u6700\u65b0\u7684\u5b89\u5168\u8cc7\u8a0a\u548c\u66f4\u65b0\u3002<\/p>\n<h2 id=\"%e9%98%b2%e7%af%84%e6%8e%aa%e6%96%bd-JhwNZkKEtk\">\u9632\u7bc4\u63aa\u65bd<\/h2>\n<p>\u9664\u4e86\u53ca\u6642\u66f4\u65b0MySQL\u7248\u672c\u5916\uff0c\u4f01\u696d\u9084\u61c9\u8a72\u63a1\u53d6\u5176\u4ed6\u9632\u7bc4\u63aa\u65bd\u4f86\u52a0\u5f37\u6578\u64da\u5eab\u7684\u5b89\u5168\u6027\uff1a<\/p>\n<ul>\n<li>\u5be6\u65bd\u6700\u5c0f\u6b0a\u9650\u539f\u5247\uff0c\u9650\u5236\u7528\u6236\u7684\u6578\u64da\u5eab\u8a2a\u554f\u6b0a\u9650\u3002<\/li>\n<li>\u5b9a\u671f\u9032\u884c\u5b89\u5168\u5be9\u8a08\uff0c\u6aa2\u67e5\u6578\u64da\u5eab\u7684\u5b89\u5168\u914d\u7f6e\u3002<\/li>\n<li>\u4f7f\u7528\u9632\u706b\u7246\u548c\u5165\u4fb5\u6aa2\u6e2c\u7cfb\u7d71\uff0c\u76e3\u63a7\u53ef\u7591\u6d3b\u52d5\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%b5%90%e8%ab%96-JhwNZkKEtk\">\u7d50\u8ad6<\/h2>\n<p>Oracle\u91dd\u5c0dMySQL\u670d\u52d9\u767c\u5e03\u7684\u5b89\u5168\u6f0f\u6d1e\u8b66\u544a\u63d0\u9192\u4e86\u6240\u6709\u7528\u6236\uff0c\u6578\u64da\u5eab\u5b89\u5168\u4e0d\u5bb9\u5ffd\u8996\u3002\u53ca\u6642\u66f4\u65b0\u548c\u52a0\u5f37\u5b89\u5168\u63aa\u65bd\u662f\u4fdd\u8b77\u6578\u64da\u7684\u91cd\u8981\u6b65\u9a5f\u3002\u5c0d\u65bc\u4f7f\u7528MySQL\u7684\u4f01\u696d\u4f86\u8aaa\uff0c\u4fdd\u6301\u8b66\u60d5\u4e26\u63a1\u53d6\u5fc5\u8981\u7684\u884c\u52d5\u5c07\u6709\u52a9\u65bc\u6e1b\u5c11\u6f5b\u5728\u7684\u5b89\u5168\u98a8\u96aa\u3002<\/p>\n<p>\u5982\u9700\u4e86\u89e3\u66f4\u591a\u6709\u95dc<code>VPS<\/code>\u3001<code>\u9999\u6e2fVPS<\/code>\u53ca\u5176\u4ed6<code>\u4e91\u670d\u52a1\u5668<\/code>\u7684\u8cc7\u8a0a\uff0c\u8acb\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9 <a href=\"https:\/\/server.hk\">Server.HK<\/a>\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Oracle announces a critical security vulnerability in MySQL services, urging users to update and secure their systems promptly.<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[],"class_list":["post-95104","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/95104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=95104"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/95104\/revisions"}],"predecessor-version":[{"id":95105,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/95104\/revisions\/95105"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=95104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=95104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=95104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}