{"id":99699,"date":"2026-09-03T00:56:49","date_gmt":"2026-09-02T16:56:49","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/99699.html"},"modified":"2026-09-03T00:56:49","modified_gmt":"2026-09-02T16:56:49","slug":"spring-cloud-alibaba-%e4%ba%91%e4%b8%8a%e5%ae%9e%e6%88%98%ef%bc%88%e4%b8%89%ef%bc%89%ef%bc%9adocker-compose-%e4%b8%80%e9%94%ae%e7%bc%96%e6%8e%92-mysql-8-4-redis-7-nacos-2-4-3%ef%bc%88%e5%90%ab-mys","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/99699.html","title":{"rendered":"Spring Cloud Alibaba \u4e91\u4e0a\u5b9e\u6218\uff08\u4e09\uff09\uff1aDocker Compose \u4e00\u952e\u7f16\u6392 MySQL 8.4 + Redis 7 + Nacos 2.4.3\uff08\u542b MySQL \u6301\u4e45\u5316\u8e29\u5751\u5168\u8bb0\u5f55\uff09"},"content":{"rendered":"<h2>Spring Cloud Alibaba \u4e91\u4e0a\u5b9e\u6218&#xff08;\u4e09&#xff09;&#xff1a;Docker Compose \u4e00\u952e\u7f16\u6392 MySQL 8.4 &#043; Redis 7 &#043; Nacos 2.4.3&#xff08;\u542b MySQL \u6301\u4e45\u5316\u8e29\u5751\u5168\u8bb0\u5f55&#xff09;<\/h2>\n<p>\u7cfb\u5217\u7b2c 3 \u7bc7\u3002\u5728 weblog-mw01&#xff08;\u534e\u4e3a\u4e91 ECS&#xff0c;192.168.0.79&#xff09;\u4e0a\u843d\u5730\u8bfe\u7a0b\u7b2c 1 \u5468&#034;\u57fa\u4e8e Docker Compose \u4e00\u952e\u7f16\u6392\u90e8\u7f72\u5404\u7c7b\u6838\u5fc3\u4e2d\u95f4\u4ef6&#034;\u548c&#034;\u96c6\u6210 Nacos \u914d\u7f6e\u4e2d\u5fc3&#034;&#xff1a;\u4e00\u5957 compose \u8d77 MySQL &#043; Redis &#043; Nacos&#xff0c;Nacos \u6570\u636e\u6301\u4e45\u5316\u5230 MySQL&#xff0c;\u5e76\u7528 curl \u5b8c\u6210&#034;\u53d1\u5e03\u914d\u7f6e \u2192 \u8bfb\u56de\u914d\u7f6e&#034;\u95ed\u73af\u9a8c\u8bc1\u3002<\/p>\n<h3>\u4e00\u3001\u4e3a\u4ec0\u4e48\u8fd9\u4e09\u4e2a\u653e\u4e00\u53f0<\/h3>\n<ul>\n<li>Nacos \u7684\u914d\u7f6e\u6301\u4e45\u5316\u4f9d\u8d56 MySQL&#xff08;derby \u5185\u5d4c\u5e93\u53ea\u9002\u5408\u5f00\u53d1\u8bd5\u7528&#xff0c;\u91cd\u542f\u4e22\u914d\u7f6e\u7684\u5386\u53f2\u6559\u8bad\u592a\u591a&#xff09;&#xff0c;\u4e24\u8005\u540c\u673a\u7528 compose \u5185\u7f51\u4e92\u8054&#xff0c;\u94fe\u8def\u6700\u77ed&#xff1b;<\/li>\n<li>Redis \u4e0e MySQL \u90fd\u662f&#034;\u6570\u636e\u9762&#034;&#xff0c;CPU \u6d88\u8017\u4f4e\u3001\u78c1\u76d8 IO \u4e3a\u4e3b&#xff0c;8C16G \u7684\u673a\u5668\u5e26\u8fd9\u4e09\u4e2a\u5b9e\u4f8b\u7ef0\u7ef0\u6709\u4f59&#xff1b;<\/li>\n<li>\u751f\u4ea7\u4e0a\u8981\u505a\u7684\u53ea\u662f\u628a mysql:8.4 \u6362\u6210\u4e3b\u4ece\/\u6258\u7ba1\u5b9e\u4f8b\u3001Nacos \u6362 3 \u8282\u70b9\u96c6\u7fa4&#xff0c;\u7f16\u6392\u601d\u8def\u5b8c\u5168\u4e00\u81f4\u3002<\/li>\n<\/ul>\n<h3>\u4e8c\u3001compose \u6587\u4ef6\u9010\u6bb5\u7cbe\u8bb2<\/h3>\n<p><span class=\"token key atrule\">name<\/span><span class=\"token punctuation\">:<\/span> weblog<span class=\"token punctuation\">&#8211;<\/span>mw<br \/>\n<span class=\"token key atrule\">services<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token key atrule\">mysql<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token key atrule\">image<\/span><span class=\"token punctuation\">:<\/span> mysql<span class=\"token punctuation\">:<\/span><span class=\"token number\">8.4<\/span><br \/>\n    <span class=\"token key atrule\">container_name<\/span><span class=\"token punctuation\">:<\/span> weblog<span class=\"token punctuation\">&#8211;<\/span>mysql<br \/>\n    <span class=\"token key atrule\">restart<\/span><span class=\"token punctuation\">:<\/span> unless<span class=\"token punctuation\">&#8211;<\/span>stopped<br \/>\n    <span class=\"token key atrule\">environment<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token key atrule\">MYSQL_ROOT_PASSWORD<\/span><span class=\"token punctuation\">:<\/span> Root&#064;2026<br \/>\n      <span class=\"token key atrule\">TZ<\/span><span class=\"token punctuation\">:<\/span> Asia\/Shanghai<br \/>\n    <span class=\"token key atrule\">command<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">&#8211;<\/span><span class=\"token punctuation\">&#8211;<\/span>character<span class=\"token punctuation\">&#8211;<\/span>set<span class=\"token punctuation\">&#8211;<\/span>server&#061;utf8mb4 <span class=\"token punctuation\">&#8211;<\/span><span class=\"token punctuation\">&#8211;<\/span>collation<span class=\"token punctuation\">&#8211;<\/span>server&#061;utf8mb4_unicode_ci<br \/>\n    <span class=\"token key atrule\">ports<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token string\">&#034;3306:3306&#034;<\/span><br \/>\n    <span class=\"token key atrule\">volumes<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> mysql<span class=\"token punctuation\">&#8211;<\/span>data<span class=\"token punctuation\">:<\/span>\/var\/lib\/mysql<br \/>\n    <span class=\"token key atrule\">healthcheck<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token key atrule\">test<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;CMD&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;mysqladmin&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;ping&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;-h&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;localhost&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;-uroot&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;-pRoot&#064;2026&#034;<\/span><span class=\"token punctuation\">]<\/span><br \/>\n      <span class=\"token key atrule\">interval<\/span><span class=\"token punctuation\">:<\/span> 10s<br \/>\n      <span class=\"token key atrule\">timeout<\/span><span class=\"token punctuation\">:<\/span> 5s<br \/>\n      <span class=\"token key atrule\">retries<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">12<\/span><\/p>\n<p>  <span class=\"token key atrule\">redis<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token key atrule\">image<\/span><span class=\"token punctuation\">:<\/span> redis<span class=\"token punctuation\">:<\/span>7<span class=\"token punctuation\">&#8211;<\/span>alpine<br \/>\n    <span class=\"token key atrule\">container_name<\/span><span class=\"token punctuation\">:<\/span> weblog<span class=\"token punctuation\">&#8211;<\/span>redis<br \/>\n    <span class=\"token key atrule\">restart<\/span><span class=\"token punctuation\">:<\/span> unless<span class=\"token punctuation\">&#8211;<\/span>stopped<br \/>\n    <span class=\"token key atrule\">command<\/span><span class=\"token punctuation\">:<\/span> redis<span class=\"token punctuation\">&#8211;<\/span>server <span class=\"token punctuation\">&#8211;<\/span><span class=\"token punctuation\">&#8211;<\/span>requirepass Weblog&#064;2026 <span class=\"token punctuation\">&#8211;<\/span><span class=\"token punctuation\">&#8211;<\/span>appendonly yes<br \/>\n    <span class=\"token key atrule\">ports<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token string\">&#034;6379:6379&#034;<\/span><br \/>\n    <span class=\"token key atrule\">volumes<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> redis<span class=\"token punctuation\">&#8211;<\/span>data<span class=\"token punctuation\">:<\/span>\/data<\/p>\n<p>  <span class=\"token key atrule\">nacos<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token key atrule\">image<\/span><span class=\"token punctuation\">:<\/span> nacos\/nacos<span class=\"token punctuation\">&#8211;<\/span>server<span class=\"token punctuation\">:<\/span>v2.4.3<br \/>\n    <span class=\"token key atrule\">container_name<\/span><span class=\"token punctuation\">:<\/span> weblog<span class=\"token punctuation\">&#8211;<\/span>nacos<br \/>\n    <span class=\"token key atrule\">restart<\/span><span class=\"token punctuation\">:<\/span> unless<span class=\"token punctuation\">&#8211;<\/span>stopped<br \/>\n    <span class=\"token key atrule\">depends_on<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token key atrule\">mysql<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token key atrule\">condition<\/span><span class=\"token punctuation\">:<\/span> service_healthy      <span class=\"token comment\"># \u5173\u952e&#xff1a;MySQL \u5065\u5eb7\u540e\u624d\u8d77 Nacos<\/span><br \/>\n    <span class=\"token key atrule\">environment<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token key atrule\">MODE<\/span><span class=\"token punctuation\">:<\/span> standalone<br \/>\n      <span class=\"token key atrule\">SPRING_DATASOURCE_PLATFORM<\/span><span class=\"token punctuation\">:<\/span> mysql<br \/>\n      <span class=\"token key atrule\">MYSQL_SERVICE_HOST<\/span><span class=\"token punctuation\">:<\/span> mysql          <span class=\"token comment\"># compose \u670d\u52a1\u540d\u5373 DNS<\/span><br \/>\n      <span class=\"token key atrule\">MYSQL_SERVICE_PORT<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;3306&#034;<\/span><br \/>\n      <span class=\"token key atrule\">MYSQL_SERVICE_USER<\/span><span class=\"token punctuation\">:<\/span> root<br \/>\n      <span class=\"token key atrule\">MYSQL_SERVICE_PASSWORD<\/span><span class=\"token punctuation\">:<\/span> Root&#064;2026<br \/>\n      <span class=\"token key atrule\">MYSQL_SERVICE_DB_NAME<\/span><span class=\"token punctuation\">:<\/span> nacos_config<br \/>\n      <span class=\"token key atrule\">MYSQL_SERVICE_DB_PARAM<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;characterEncoding&#061;utf8&amp;connectTimeout&#061;5000&amp;socketTimeout&#061;5000&amp;useSSL&#061;false&amp;allowPublicKeyRetrieval&#061;true&#034;<\/span><br \/>\n      <span class=\"token key atrule\">NACOS_AUTH_ENABLE<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;false&#034;<\/span><br \/>\n      <span class=\"token key atrule\">JVM_XMS<\/span><span class=\"token punctuation\">:<\/span> 512m<br \/>\n      <span class=\"token key atrule\">JVM_XMX<\/span><span class=\"token punctuation\">:<\/span> 512m<br \/>\n    <span class=\"token key atrule\">ports<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token string\">&#034;8848:8848&#034;<\/span>    <span class=\"token comment\"># HTTP \u63a7\u5236\u53f0\/OpenAPI<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token string\">&#034;9848:9848&#034;<\/span>    <span class=\"token comment\"># 2.x gRPC \u901a\u9053&#xff08;\u5ba2\u6237\u7aef\u5fc5\u987b\u80fd\u901a&#xff01;&#xff09;<\/span><\/p>\n<p>\u51e0\u4e2a\u503c\u5f97\u5c55\u5f00\u7684\u8bbe\u8ba1\u70b9&#xff1a;<\/p>\n<p>\u2460 depends_on: condition: service_healthy&#xff1a;Nacos \u542f\u52a8\u5c31\u8981\u8fde MySQL\u3002\u5982\u679c\u53ea\u5199 depends_on: mysql&#xff0c;\u53ea\u80fd\u4fdd\u8bc1&#034;\u5bb9\u5668\u542f\u52a8&#034;\u4e0d\u80fd\u4fdd\u8bc1&#034;\u670d\u52a1\u5c31\u7eea&#034;\u2014\u2014MySQL \u9996\u6b21\u521d\u59cb\u5316\u8981 20~30 \u79d2&#xff0c;Nacos \u62a2\u8dd1\u5fc5\u7136\u8fde\u63a5\u5931\u8d25\u3002healthcheck &#043; service_healthy \u662f compose \u7f16\u6392\u6709\u4f9d\u8d56\u670d\u52a1\u65f6\u7684\u6807\u51c6\u7b54\u6848\u3002<\/p>\n<p>\u2461 8848 \u548c 9848 \u5fc5\u987b\u4e00\u8d77\u66b4\u9732&#xff1a;Nacos 2.x \u5ba2\u6237\u7aef\u7528 gRPC \u957f\u8fde\u63a5&#xff08;\u4e3b\u7aef\u53e3&#043;1000 &#061; 9848&#xff09;\u3002\u53ea\u5f00 8848 \u7684\u7ecf\u5178\u75c7\u72b6&#xff1a;\u63a7\u5236\u53f0\u80fd\u8bbf\u95ee&#xff0c;\u5ba2\u6237\u7aef\u6ce8\u518c\/\u62c9\u914d\u7f6e\u65f6\u8d85\u65f6\u62a5\u9519\u3002\u6211\u4eec\u540e\u9762\u8de8\u673a\u8054\u8c03\u524d\u4e13\u95e8\u505a\u4e86\u7aef\u53e3\u9884\u68c0&#xff0c;9848 \u901a\u4e86\u624d\u6562\u8d77\u5e94\u7528\u3002<\/p>\n<p>\u2462 utf8mb4 \u8981\u5728 command \u91cc\u663e\u5f0f\u58f0\u660e&#xff1a;MySQL 8 \u9ed8\u8ba4 utf8mb4&#xff0c;\u4f46\u8981\u4fdd\u8bc1 collation \u4e00\u81f4&#xff08;utf8mb4_unicode_ci&#xff09;&#xff0c;\u5426\u5219\u4e0d\u540c\u5efa\u8868\u8bed\u53e5\u53ef\u80fd\u6df7\u51fa 0x255 \u6392\u5e8f\u89c4\u5219\u7684\u5751\u3002<\/p>\n<h3>\u4e09\u3001Nacos \u5efa\u8868&#xff1a;\u4ece\u955c\u50cf\u91cc&#034;\u5077&#034; SQL \u7684\u9a9a\u64cd\u4f5c<\/h3>\n<p>Nacos \u5b98\u65b9\u955c\u50cf\u4e0d\u5e26\u81ea\u52a8\u5efa\u5e93&#xff0c;\u9700\u8981\u624b\u52a8\u6267\u884c mysql-schema.sql&#xff08;12 \u5f20\u8868&#xff1a;config_info\u3001users\u3001roles\u2026&#xff09;\u3002\u4f46\u53bb GitHub \u4e0b\u8f7d SQL \u6587\u4ef6\u5728\u56fd\u5185\u670d\u52a1\u5668\u4e0a\u5927\u6982\u7387\u8d85\u65f6\u3002\u5176\u5b9e SQL \u5c31\u5728\u955c\u50cf\u91cc&#xff0c;docker create &#043; docker cp \u4e09\u6b65\u62ff\u51fa\u6765&#xff1a;<\/p>\n<p><span class=\"token comment\"># 1. \u521b\u5efa\u4e00\u4e2a&#034;\u53ea\u521b\u5efa\u4e0d\u8fd0\u884c&#034;\u7684\u5bb9\u5668\u62ff\u5230\u6587\u4ef6\u7cfb\u7edf<\/span><br \/>\n<span class=\"token assign-left variable\">cid<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token variable\"><span class=\"token variable\">$(<\/span><span class=\"token function\">docker<\/span> create nacos\/nacos-server:v2.4.3<span class=\"token variable\">)<\/span><\/span><br \/>\n<span class=\"token comment\"># 2. \u628a\u5efa\u8868SQL\u62f7\u51fa\u6765<\/span><br \/>\n<span class=\"token function\">docker<\/span> <span class=\"token function\">cp<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$cid<\/span>&#034;<\/span>:\/home\/nacos\/conf\/mysql-schema.sql \/tmp\/mysql-schema.sql<br \/>\n<span class=\"token comment\"># 3. \u6e05\u7406\u4e34\u65f6\u5bb9\u5668<\/span><br \/>\n<span class=\"token function\">docker<\/span> <span class=\"token function\">rm<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$cid<\/span>&#034;<\/span><\/p>\n<p><span class=\"token comment\"># \u5efa\u5e93 &#043; \u704c schema<\/span><br \/>\n<span class=\"token function\">docker<\/span> <span class=\"token builtin class-name\">exec<\/span> <span class=\"token parameter variable\">-i<\/span> weblog-mysql mysql <span class=\"token parameter variable\">-uroot<\/span> -pRoot&#064;2026 <span class=\"token operator\">&lt;&lt;<\/span><span class=\"token string\">&#039;SQL&#039;<br \/>\nCREATE DATABASE IF NOT EXISTS nacos_config DEFAULT CHARACTER SET utf8mb4;<br \/>\nCREATE DATABASE IF NOT EXISTS weblog DEFAULT CHARACTER SET utf8mb4;<br \/>\nSQL<\/span><br \/>\n<span class=\"token function\">docker<\/span> <span class=\"token builtin class-name\">exec<\/span> <span class=\"token parameter variable\">-i<\/span> weblog-mysql mysql <span class=\"token parameter variable\">-uroot<\/span> -pRoot&#064;2026 nacos_config <span class=\"token operator\">&lt;<\/span> \/tmp\/mysql-schema.sql<\/p>\n<p>\u5b9e\u6d4b\u7ed3\u679c&#xff1a;<\/p>\n<p>-rw-r&#8211;r&#8211; 1 root root 11042 Sep 11  2024 \/tmp\/mysql-schema.sql   # 11KB&#xff0c;12\u5f20\u8868<br \/>\nnacos tables: 13   # show tables \u8f93\u51fa13\u884c&#xff08;12\u8868&#043;\u8868\u5934&#xff09;<\/p>\n<p>\u8fd9\u4e2a\u6280\u5de7\u5bf9\u6240\u6709&#034;\u955c\u50cf\u91cc\u6709\u521d\u59cb\u5316\u8d44\u6e90\u4f46\u5b98\u65b9\u6587\u6863\u8ba9\u4f60\u53bb\u7f51\u4e0a\u4e0b&#034;\u7684\u4e2d\u95f4\u4ef6\u90fd\u9002\u7528&#xff08;XXL-JOB \u7684 tables_xxl_job.sql\u3001Skywalking \u7684 OAP \u521d\u59cb\u5316\u811a\u672c\u540c\u7406&#xff09;\u3002<\/p>\n<h3>\u56db\u3001\u8e29\u5751\u5b9e\u5f55&#xff1a;Nacos \u8fde\u4e0d\u4e0a MySQL 8.4&#xff08;\u91cd\u542f\u5faa\u73af&#xff09;<\/h3>\n<p>Nacos \u8d77\u6765\u540e\u4e00\u76f4 Restarting (1)&#xff0c;\u770b\u65e5\u5fd7&#xff1a;<\/p>\n<p>Caused by: com.mysql.cj.exceptions.UnableToConnectException:<br \/>\nPublic Key Retrieval is not allowed<br \/>\n  at &#8230;CachingSha2PasswordPlugin.nextAuthenticationStep(&#8230;)<\/p>\n<p>\u6839\u56e0&#xff1a;MySQL 8.x \u9ed8\u8ba4\u8ba4\u8bc1\u63d2\u4ef6\u662f caching_sha2_password&#xff0c;\u9996\u8fde\u65f6\u5ba2\u6237\u7aef\u9700\u8981\u5411\u670d\u52a1\u7aef\u53d6 RSA \u516c\u94a5&#xff0c;\u800c JDBC \u9ed8\u8ba4\u7981\u6b62\u516c\u94a5\u68c0\u7d22&#xff08;\u9632\u4e2d\u95f4\u4eba&#xff09;\u3002Nacos \u7684 JDBC URL \u7531 MYSQL_SERVICE_DB_PARAM \u73af\u5883\u53d8\u91cf\u62fc\u51fa\u6765&#xff0c;\u9ed8\u8ba4\u53c2\u6570\u91cc\u6ca1\u6709 allowPublicKeyRetrieval\u3002<\/p>\n<p>\u4fee\u590d&#xff1a;compose \u91cc\u7ed9 Nacos \u52a0\u4e00\u884c&#xff1a;<\/p>\n<p><span class=\"token key atrule\">MYSQL_SERVICE_DB_PARAM<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;characterEncoding&#061;utf8&amp;connectTimeout&#061;5000&amp;socketTimeout&#061;5000&amp;useSSL&#061;false&amp;allowPublicKeyRetrieval&#061;true&#034;<\/span><\/p>\n<p>docker compose up -d nacos \u91cd\u5efa\u540e&#xff1a;<\/p>\n<p>nacos console http: 200<br \/>\n&#8212; nacos readiness: OK<\/p>\n<p>\u540c\u4e00\u4e2a\u5751\u8fd8\u51fa\u73b0\u5728&#xff1a;\u4efb\u4f55 Spring Boot \u5e94\u7528\u8fde MySQL 8\u3001Kafka Connect \u7684 JDBC Source\u3001Canal\u2026\u2026\u53ea\u8981\u770b\u5230 Public Key Retrieval is not allowed&#xff0c;\u95ed\u773c\u52a0 allowPublicKeyRetrieval&#061;true&amp;useSSL&#061;false\u3002<\/p>\n<h3>\u4e94\u3001\u9a8c\u8bc1\u95ed\u73af&#xff1a;\u53d1\u5e03\u914d\u7f6e \u2192 \u843d\u5e93 \u2192 \u8bfb\u56de<\/h3>\n<p>Nacos \u5c31\u7eea\u540e&#xff0c;\u4e0d\u7528\u5f00\u63a7\u5236\u53f0&#xff0c;\u76f4\u63a5\u7528 OpenAPI \u5b8c\u6210\u914d\u7f6e\u95ed\u73af&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u53d1\u5e03 weblog-demo.yaml \u5230 DEFAULT_GROUP<\/span><br \/>\n<span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-s<\/span> <span class=\"token parameter variable\">-X<\/span> POST <span class=\"token string\">&#039;http:\/\/localhost:8848\/nacos\/v1\/cs\/configs&#039;<\/span> <span class=\"token punctuation\">\\\\<\/span><br \/>\n  &#8211;data-urlencode <span class=\"token string\">&#039;dataId&#061;weblog-demo.yaml&#039;<\/span> <span class=\"token punctuation\">\\\\<\/span><br \/>\n  &#8211;data-urlencode <span class=\"token string\">&#039;group&#061;DEFAULT_GROUP&#039;<\/span> <span class=\"token punctuation\">\\\\<\/span><br \/>\n  &#8211;data-urlencode <span class=\"token string\">&#039;content&#061;weblog:<br \/>\n  welcome: &#034;hello-from-nacos-config-center&#034;<br \/>\n  env: huawei-cloud-demo&#039;<\/span><br \/>\n<span class=\"token comment\"># \u2192 true<\/span><\/p>\n<p><span class=\"token comment\"># \u8bfb\u56de<\/span><br \/>\n<span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-s<\/span> <span class=\"token string\">&#039;http:\/\/localhost:8848\/nacos\/v1\/cs\/configs?dataId&#061;weblog-demo.yaml&amp;group&#061;DEFAULT_GROUP&#039;<\/span><br \/>\n<span class=\"token comment\"># weblog:<\/span><br \/>\n<span class=\"token comment\">#   welcome: &#034;hello-from-nacos-config-center&#034;<\/span><br \/>\n<span class=\"token comment\">#   env: huawei-cloud-demo<\/span><\/p>\n<p>\u4e00\u4e2a\u7ec6\u8282&#xff1a;\u53d1\u5e03\u540e\u7acb\u523b GET \u5076\u5c14\u8fd4\u56de config data not exist\u2014\u2014Nacos \u5199\u5185\u5b58\u548c\u5f02\u6b65\u843d\u5e93\u4e4b\u95f4\u6709\u6beb\u79d2\u7ea7\u7a97\u53e3&#xff0c;\u53bb MySQL \u91cc\u67e5 config_info \u8868\u786e\u8ba4\u884c\u5df2\u5b58\u5728\u3001\u7a0d\u540e\u91cd\u8bd5 GET \u5373\u53ef\u8bfb\u5230\u3002\u8fd9\u4e2a&#034;\u8bfb\u5df1\u4e4b\u5199&#034;\u7684\u5c0f\u5ef6\u8fdf\u5728\u751f\u4ea7\u6392\u969c\u65f6\u5bb9\u6613\u9020\u6210\u8bef\u5224&#xff0c;\u503c\u5f97\u8bb0\u4f4f\u3002<\/p>\n<p>\u518d\u770b MySQL \u4fa7\u7684\u6301\u4e45\u5316\u8bc1\u636e&#xff1a;<\/p>\n<p>&#8212; DB config_info rows: weblog-demo.yaml \/ DEFAULT_GROUP \/ tenant &#039;&#039;<\/p>\n<p>\u914d\u7f6e\u771f\u7684\u843d\u5728 nacos_config.config_info \u8868\u91cc&#xff0c;\u5bb9\u5668\u91cd\u5efa\u4e5f\u4e0d\u4e22\u3002<\/p>\n<h3>\u516d\u3001\u6700\u7ec8\u72b6\u6001\u4e0e\u9a8c\u6536\u6e05\u5355<\/h3>\n<p>NAME           IMAGE                       STATUS                   PORTS<br \/>\nweblog-mysql   mysql:8.4                   Up 3 minutes (healthy)   0.0.0.0:3306-&gt;3306\/tcp<br \/>\nweblog-nacos   nacos\/nacos-server:v2.4.3   Up 10 seconds            0.0.0.0:8848-&gt;8848\/tcp, 0.0.0.0:9848-&gt;9848\/tcp<br \/>\nweblog-redis   redis:7-alpine              Up 3 minutes             0.0.0.0:6379-&gt;6379\/tcp<\/p>\n<table>\n<tr>\u9a8c\u6536\u9879\u7ed3\u679c<\/tr>\n<tbody>\n<tr>\n<td>MySQL \u5065\u5eb7 &#043; utf8mb4 &#043; \u4e1a\u52a1\u5e93 weblog<\/td>\n<td>\u2705<\/td>\n<\/tr>\n<tr>\n<td>Redis \u5bc6\u7801\u6a21\u5f0f &#043; AOF &#043; PING \u2192 PONG<\/td>\n<td>\u2705<\/td>\n<\/tr>\n<tr>\n<td>Nacos readiness OK &#043; \u914d\u7f6e\u53d1\u5e03\/\u8bfb\u56de<\/td>\n<td>\u2705<\/td>\n<\/tr>\n<tr>\n<td>Nacos \u914d\u7f6e\u6301\u4e45\u5316\u5230 config_info \u8868<\/td>\n<td>\u2705<\/td>\n<\/tr>\n<tr>\n<td>\u4e1a\u52a1\u8868 t_visit_log \u521d\u59cb\u5316<\/td>\n<td>\u2705<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u4e03\u3001\u907f\u5751\u603b\u7ed3<\/h3>\n<li>Public Key Retrieval is not allowed&#xff1a;MySQL 8 &#043; \u8001\u9a71\u52a8\/\u4e2d\u95f4\u4ef6\u7684\u6807\u914d\u5751&#xff0c;\u52a0 allowPublicKeyRetrieval&#061;true&amp;useSSL&#061;false\u3002<\/li>\n<li>9848 \u7aef\u53e3&#xff1a;Nacos 2.x gRPC \u7aef\u53e3\u5fd8\u4e86\u66b4\u9732&#xff0c;\u5ba2\u6237\u7aef\u5168\u8d85\u65f6&#xff0c;\u63a7\u5236\u53f0\u5374\u4e00\u5207\u6b63\u5e38\u2014\u2014\u6700\u8ff7\u60d1\u4eba\u7684\u6545\u969c\u5f62\u6001\u3002<\/li>\n<li>healthcheck \u91cc\u7684\u5bc6\u7801&#xff1a;mysqladmin ping \u5e26\u5bc6\u7801\u4f1a\u544a\u8b66&#xff08;Password on the command line&#xff09;&#xff0c;\u6f14\u793a\u73af\u5883\u53ef\u63a5\u53d7&#xff0c;\u751f\u4ea7\u5efa\u8bae\u7528 &#8211;defaults-extra-file \u6216\u4e13\u95e8\u7684\u5065\u5eb7\u68c0\u67e5\u8d26\u53f7\u3002<\/li>\n<li>docker compose pull \u4e0e up -d \u5206\u79bb\u6267\u884c&#xff1a;\u5148\u5168\u91cf\u62c9\u955c\u50cf\u518d\u8d77\u670d\u52a1&#xff0c;\u907f\u514d\u670d\u52a1\u542f\u52a8\u4e0e\u955c\u50cf\u4e0b\u8f7d\u6df7\u5728\u4e00\u8d77&#xff0c;\u5931\u8d25\u91cd\u8bd5\u6210\u672c\u66f4\u4f4e\u3002<\/li>\n<li>\u955c\u50cf\u4e0b\u8f7d\u7ea6 1.7GB \u7528\u65f6\u7ea6 15 \u5206\u949f&#xff08;5Mbit\/s&#xff09;&#xff1a;\u4e91\u4e0a\u6279\u91cf\u90e8\u7f72\u4e2d\u95f4\u4ef6&#xff0c;\u628a\u62c9\u955c\u50cf\u7684\u65f6\u95f4\u9884\u7b97\u7559\u591f&#xff0c;\u6216\u5148\u505a\u955c\u50cf\u9884\u70ed\/\u955c\u50cf\u4ed3\u5e93\u540c\u6b65\u3002<\/li>\n<h3>\u5199\u5728\u6700\u540e<\/h3>\n<p>\u6301\u4e45\u5c42\u4e0e\u914d\u7f6e\u4e2d\u5fc3\u5c31\u4f4d\u3002\u4e0b\u4e00\u7bc7\u5728 weblog-mw02 \u4e0a\u7f16\u6392 Kafka 3.9 KRaft&#xff08;\u8131\u79bb ZooKeeper&#xff09;&#043; Elasticsearch 8.15&#xff0c;\u5305\u62ec KRaft \u7684 CLUSTER_ID \u751f\u6210\u3001advertised.listeners \u7684\u5bb9\u5668\u7f51\u7edc\u9677\u9631\u3001ES \u7684 vm.max_map_count \u5185\u6838\u53c2\u6570&#xff0c;\u4ee5\u53ca\u4e2d\u6587\u68c0\u7d22\u9a8c\u8bc1\u3002<\/p>\n<p>\u7cfb\u5217\u5bfc\u822a&#xff1a;<\/p>\n<ul>\n<li>\u2705 \u4e00&#xff1a;4\u53f0\u534e\u4e3a\u4e91ECS\u4ece\u89c4\u5212\u5230\u521d\u59cb\u5316<\/li>\n<li>\u2705 \u4e8c&#xff1a;Docker \u5b89\u88c5\u914d\u7f6e\u4e0e\u955c\u50cf\u52a0\u901f\u907f\u5751<\/li>\n<li>\u2705 \u4e09&#xff1a;Docker Compose \u4e00\u952e\u7f16\u6392 MySQL &#043; Redis &#043; Nacos&#xff08;\u672c\u7bc7&#xff09;<\/li>\n<li>\u23ed \u56db&#xff1a;Kafka KRaft &#043; Elasticsearch \u5bb9\u5668\u5316\u90e8\u7f72<\/li>\n<li>\u2705 \u4e94&#xff1a;JDK17 &#043; Gradle8 \u6807\u51c6\u5316\u6784\u5efa\u73af\u5883\u4e0e\u591a\u6a21\u5757\u5de5\u7a0b<\/li>\n<li>\u23ed \u516d&#xff1a;\u4e00\u4e2a Spring Boot \u5fae\u670d\u52a1\u7684\u8de8\u673a\u5168\u94fe\u8def\u8054\u8c03<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Spring Cloud Alibaba \u4e91\u4e0a\u5b9e\u6218&#xff08;\u4e09&#xff09;&#xff1a;Docker Compose \u4e00\u952e\u7f16\u6392 MySQL 8.4  Redis 7  Nacos 2.4.3&#xff08;\u542b MySQL \u6301\u4e45\u5316\u8e29\u5751\u5168\u8bb0\u5f55&#xff09;\u7cfb\u5217\u7b2c 3 \u7bc7\u3002\u5728 weblog-mw01&#xff08;\u534e\u4e3a\u4e91 ECS&#xff0c;192.168.0.79&#xff09;\u4e0a\u843d\u5730\u8bfe\u7a0b\u7b2c 1 \u5468\\&#8221;\u57fa\u4e8e Docker Compose \u4e00\u952e\u7f16\u6392\u90e8\u7f72\u5404\u7c7b\u6838\u5fc3\u4e2d\u95f4\u4ef6\\&#8221;<\/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":[27,114,105],"topic":[],"class_list":["post-99699","post","type-post","status-publish","format-standard","hentry","category-server","tag-docker","tag-mysql","tag-redis"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Spring Cloud Alibaba \u4e91\u4e0a\u5b9e\u6218\uff08\u4e09\uff09\uff1aDocker Compose \u4e00\u952e\u7f16\u6392 MySQL 8.4 + Redis 7 + Nacos 2.4.3\uff08\u542b MySQL \u6301\u4e45\u5316\u8e29\u5751\u5168\u8bb0\u5f55\uff09 - \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\/99699.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Spring Cloud Alibaba \u4e91\u4e0a\u5b9e\u6218\uff08\u4e09\uff09\uff1aDocker Compose \u4e00\u952e\u7f16\u6392 MySQL 8.4 + Redis 7 + Nacos 2.4.3\uff08\u542b MySQL \u6301\u4e45\u5316\u8e29\u5751\u5168\u8bb0\u5f55\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Spring Cloud Alibaba \u4e91\u4e0a\u5b9e\u6218&#xff08;\u4e09&#xff09;&#xff1a;Docker Compose \u4e00\u952e\u7f16\u6392 MySQL 8.4 Redis 7 Nacos 2.4.3&#xff08;\u542b MySQL \u6301\u4e45\u5316\u8e29\u5751\u5168\u8bb0\u5f55&#xff09;\u7cfb\u5217\u7b2c 3 \u7bc7\u3002\u5728 weblog-mw01&#xff08;\u534e\u4e3a\u4e91 ECS&#xff0c;192.168.0.79&#xff09;\u4e0a\u843d\u5730\u8bfe\u7a0b\u7b2c 1 \u5468&quot;\u57fa\u4e8e Docker Compose \u4e00\u952e\u7f16\u6392\u90e8\u7f72\u5404\u7c7b\u6838\u5fc3\u4e2d\u95f4\u4ef6&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/99699.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-02T16:56:49+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=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/99699.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/99699.html\",\"name\":\"Spring Cloud Alibaba \u4e91\u4e0a\u5b9e\u6218\uff08\u4e09\uff09\uff1aDocker Compose \u4e00\u952e\u7f16\u6392 MySQL 8.4 + Redis 7 + Nacos 2.4.3\uff08\u542b MySQL \u6301\u4e45\u5316\u8e29\u5751\u5168\u8bb0\u5f55\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-02T16:56:49+00:00\",\"dateModified\":\"2026-09-02T16:56:49+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/99699.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/99699.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/99699.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Spring Cloud Alibaba \u4e91\u4e0a\u5b9e\u6218\uff08\u4e09\uff09\uff1aDocker Compose \u4e00\u952e\u7f16\u6392 MySQL 8.4 + Redis 7 + Nacos 2.4.3\uff08\u542b MySQL \u6301\u4e45\u5316\u8e29\u5751\u5168\u8bb0\u5f55\uff09\"}]},{\"@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":"Spring Cloud Alibaba \u4e91\u4e0a\u5b9e\u6218\uff08\u4e09\uff09\uff1aDocker Compose \u4e00\u952e\u7f16\u6392 MySQL 8.4 + Redis 7 + Nacos 2.4.3\uff08\u542b MySQL \u6301\u4e45\u5316\u8e29\u5751\u5168\u8bb0\u5f55\uff09 - \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\/99699.html","og_locale":"zh_CN","og_type":"article","og_title":"Spring Cloud Alibaba \u4e91\u4e0a\u5b9e\u6218\uff08\u4e09\uff09\uff1aDocker Compose \u4e00\u952e\u7f16\u6392 MySQL 8.4 + Redis 7 + Nacos 2.4.3\uff08\u542b MySQL \u6301\u4e45\u5316\u8e29\u5751\u5168\u8bb0\u5f55\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Spring Cloud Alibaba \u4e91\u4e0a\u5b9e\u6218&#xff08;\u4e09&#xff09;&#xff1a;Docker Compose \u4e00\u952e\u7f16\u6392 MySQL 8.4 Redis 7 Nacos 2.4.3&#xff08;\u542b MySQL \u6301\u4e45\u5316\u8e29\u5751\u5168\u8bb0\u5f55&#xff09;\u7cfb\u5217\u7b2c 3 \u7bc7\u3002\u5728 weblog-mw01&#xff08;\u534e\u4e3a\u4e91 ECS&#xff0c;192.168.0.79&#xff09;\u4e0a\u843d\u5730\u8bfe\u7a0b\u7b2c 1 \u5468\"\u57fa\u4e8e Docker Compose \u4e00\u952e\u7f16\u6392\u90e8\u7f72\u5404\u7c7b\u6838\u5fc3\u4e2d\u95f4\u4ef6\"","og_url":"https:\/\/www.wsisp.com\/helps\/99699.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-02T16:56:49+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/99699.html","url":"https:\/\/www.wsisp.com\/helps\/99699.html","name":"Spring Cloud Alibaba \u4e91\u4e0a\u5b9e\u6218\uff08\u4e09\uff09\uff1aDocker Compose \u4e00\u952e\u7f16\u6392 MySQL 8.4 + Redis 7 + Nacos 2.4.3\uff08\u542b MySQL \u6301\u4e45\u5316\u8e29\u5751\u5168\u8bb0\u5f55\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-02T16:56:49+00:00","dateModified":"2026-09-02T16:56:49+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/99699.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/99699.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/99699.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Spring Cloud Alibaba \u4e91\u4e0a\u5b9e\u6218\uff08\u4e09\uff09\uff1aDocker Compose \u4e00\u952e\u7f16\u6392 MySQL 8.4 + Redis 7 + Nacos 2.4.3\uff08\u542b MySQL \u6301\u4e45\u5316\u8e29\u5751\u5168\u8bb0\u5f55\uff09"}]},{"@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\/99699","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=99699"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/99699\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=99699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=99699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=99699"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=99699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}