﻿{"id":381,"date":"2017-07-31T17:42:05","date_gmt":"2017-07-31T09:42:05","guid":{"rendered":"http:\/\/www.chenweikang.top\/?p=381"},"modified":"2017-08-18T17:16:35","modified_gmt":"2017-08-18T09:16:35","slug":"mycat%e5%ae%9e%e9%aa%8c%ef%bc%881%ef%bc%89-%e5%8d%95%e4%b8%aa%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%83%a8%e7%bd%b2%e5%a4%9a%e4%b8%aamysql","status":"publish","type":"post","link":"https:\/\/www.chenweikang.top\/?p=381","title":{"rendered":"Mycat\u4e3b\u4ece\u540c\u6b65\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5206\u5e93\u5206\u8868\uff081\uff09-\u5355\u4e2a\u670d\u52a1\u5668\u90e8\u7f72\u591a\u4e2aMysql\u5b9e\u4f8b"},"content":{"rendered":"<blockquote><p>MyCat\u662f\u57fa\u4e8e\u963f\u91cc\u5df4\u5df4\u7684\u5f00\u6e90\u4ea7\u54c1CoBar\u6f14\u53d8\u800c\u6765\uff0c\u4ee5\u4ee3\u66ff\u6602\u8d35\u7684oracle\u7684MySQL\u96c6\u7fa4\u7684\u4e2d\u95f4\u4ef6\u3002\u5173\u4e8eMyCat\u7684\u4ecb\u7ecd\u5728\u6b64\u4e0d\u591a\u8d58\u8ff0\uff08\u8be6\u7ec6\u4ecb\u7ecd \uff1a <a href=\"http:\/\/www.cnblogs.com\/MRRAOBX\/articles\/5045416.html\" target=\"_blank\" rel=\"noopener\">\u67e5\u770bMycat\u7684\u8be6\u7ec6\u4ecb\u7ecd<\/a>\uff09\uff0c\u672c\u5b9e\u9a8c\u4ecb\u7ecd\u5728\u5355\u53f0\u670d\u52a1\u5668\u5b9e\u73b0Mysql\u4e3b\u4ece\u540c\u6b65\uff0c\u7136\u540e\u57fa\u4e8eMyCat\u6570\u636e\u5206\u7247\u7b49\u7684\u64cd\u4f5c\u3002<\/p><\/blockquote>\n<h2>\u7f16\u8bd1\u5b89\u88c5Mysql5.6<\/h2>\n<p>\u5b89\u88c5\u73af\u5883\uff1a\u963f\u91cc\u4e91ECS Centos6.5 \uff0c\u53cc\u6838Intel(R) Xeon(R) CPU E5-2682 v4 @ 2.50GHz \uff0c\u5185\u5b58 16G<\/p>\n<h3>1.\u5378\u8f7d\u81ea\u5e26\u7684Mysql<\/h3>\n<pre class=\"prettyprint linenums\">rpm -qa | grep mysql\r\n#\u6709\u7684\u8bdd\u901a\u8fc7\u4e0b\u9762\u7684\u547d\u4ee4\u6765\u5378\u8f7d\u6389\r\nrpm -e --nodeps mysql\r\n<\/pre>\n<h3>2.\u5b89\u88c5\u7f16\u8bd1\u6240\u9700\u4f9d\u8d56<\/h3>\n<pre class=\"prettyprint linenums\">yum -y install make gcc-c++ cmake bison-devel  ncurses-devel\r\n<\/pre>\n<h3>3.\u4e0b\u8f7d\u6e90\u7801\u5305\uff0c\u7f16\u8bd1Mysql<\/h3>\n<pre class=\"prettyprint linenums\">cd \/software\/\r\n#\u4e0b\u8f7d\r\nwget http:\/\/mirror.neu.edu.cn\/mysql\/Downloads\/MySQL-5.6\/mysql-5.6.27.tar.gz\r\n#\u89e3\u538b\r\ntar -zxvf mysql-5.6.27.tar.gz\r\ncd mysql-5.6.27\r\n#\u7f16\u8bd1 \r\n#DCMAKE_INSTALL_PREFIX \u57fa\u7840\u76ee\u5f55  \r\n#DMYSQL_DATADIR \u6570\u636e\u76ee\u5f55\r\ncmake \\\r\n-DCMAKE_INSTALL_PREFIX=\/usr\/local\/mysql \\\r\n-DMYSQL_DATADIR=\/usr\/local\/mysql\/data \\\r\n-DSYSCONFDIR=\/etc \\\r\n-DWITH_MYISAM_STORAGE_ENGINE=1 \\\r\n-DWITH_INNOBASE_STORAGE_ENGINE=1 \\\r\n-DWITH_MEMORY_STORAGE_ENGINE=1 \\\r\n-DWITH_ARCHIVE_STORAGE_ENGINE=1 \\\r\n-DWITH_PARTITION_STORAGE_ENGINE=1 \\\r\n-DWITH_BLACKHOLE_STORAGE_ENGINE=1 \\\r\n-DWITH_READLINE=1 \\\r\n-DENABLE_DOWNLOADS=1 \\\r\n-DENABLED_LOCAL_INFILE=1 \\\r\n-DMYSQL_UNIX_ADDR=\/var\/lib\/mysql\/mysql.sock \\\r\n-DMYSQL_TCP_PORT=3306 \\\r\n-DEXTRA_CHARSETS=all \\\r\n-DDEFAULT_CHARSET=utf8 \\\r\n-DDEFAULT_COLLATION=utf8_general_ci\r\n<\/pre>\n<p>\u5176\u4ed6\u7248\u672c\uff1a\u00a0<a href=\"http:\/\/mirror.neu.edu.cn\/mysql\/Downloads\/MySQL-5.6\/\" target=\"_blank\" rel=\"noopener\">http:\/\/mirror.neu.edu.cn\/mysql\/Downloads\/MySQL-5.6\/<\/a><\/p>\n<p>\u7b49\u5f85\u5927\u698220\u5206\u949f\u7f16\u8bd1\u5b8c\u6210....<\/p>\n<h2>\u914d\u7f6eMysql<\/h2>\n<h3>1.\u521b\u5efamysql\u7528\u6237\u7ec4,\u4fee\u6539\u57fa\u7840\u76ee\u5f55\u7684\u6743\u9650\uff0c\u56e0\u4e3a\u7b49\u4f1a\u8981\u7528mysql\u7528\u6237\u542f\u52a8\u670d\u52a1<\/h3>\n<pre class=\"prettyprint linenums\">useradd -g mysql mysql\r\nchown -R mysql:mysql \/usr\/local\/mysql\r\n<\/pre>\n<p>\u5c06Mysql\u53ef\u6267\u884c\u7a0b\u5e8f\u76ee\u5f55\u52a0\u5165\u5230\u73af\u5883\u53d8\u91cf\uff1a\u7f16\u8f91 \/etc\/profile\u52a0\u5165\u5982\u4e0b\u5185\u5bb9<\/p>\n<pre class=\"prettyprint linenums\">PATH=\/usr\/local\/mysql\/bin:$PATH;\r\nexport PATH;\r\n<\/pre>\n<p>\u6267\u884c source \/etc\/profile \u4f7f\u914d\u7f6e\u751f\u6548<\/p>\n<h3>2.\u521b\u5efa\u6570\u636e\u76ee\u5f55\uff0c\u6211\u4eec\u8ba1\u5212\u542f\u52a83\u4e2amysql\u670d\u52a1 \uff0c\u7aef\u53e3\u5206\u522b\u4e3a3306\u30013307\u3001 3308\uff0c\u6240\u4ee5\u521b\u5efa3\u4e2a\u76ee\u5f55\u5206\u522b\u5b58\u653e\u4e0d\u540c\u670d\u52a1\u7684\u6570\u636e<\/h3>\n<pre class=\"prettyprint linenums\">mkdir -p \/www\/mysqldata3306\r\nmkdir -p \/www\/mysqldata3307\r\nmkdir -p \/www\/mysqldata3308\r\n#\u66f4\u6539\u6240\u5c5e\u7528\u6237\r\nchown -R mysql.mysql \/www\/mysql*<\/pre>\n<h3>3.\u521d\u59cb\u5316\u6570\u636e\u5e93\uff0c--datadir \u6307\u5b9a\u6211\u4eec\u521a\u521a\u521b\u5efa\u7684\u6570\u636e\u76ee\u5f55\u4f5c\u4e3a\u6570\u636e\u5b58\u50a8\u76ee\u5f55<\/h3>\n<pre class=\"prettyprint linenums\">\/usr\/local\/mysql\/scripts\/mysql_install_db --datadir=\/www\/mysqldata3306\/ --user=mysql --basedir=\/usr\/local\/mysql\r\n\r\n\/usr\/local\/mysql\/scripts\/mysql_install_db --datadir=\/www\/mysqldata3307\/ --user=mysql --basedir=\/usr\/local\/mysql\r\n\r\n\/usr\/local\/mysql\/scripts\/mysql_install_db --datadir=\/www\/mysqldata3308\/ --user=mysql --basedir=\/usr\/local\/mysql\r\n<\/pre>\n<p>\u4e3a\u4e0d\u540c\u7aef\u53e3\u7684\u670d\u52a1\u5206\u522b\u521b\u5efa\u914d\u7f6e\u6587\u4ef6\uff0c\u8fd9\u91cc\u9700\u8981\u8bf4\u660e mysql\u542f\u52a8\u7684\u65f6\u5019\u641c\u7d22\u914d\u7f6e\u6587\u4ef6\u7684\u8def\u5f84\u4e3a \/etc &gt; \"$basedir\/my.cnf\" \uff0c\u4e5f\u5c31\u662f\u5148\u641c\u7d22\/etc\/\u4e0b \uff0c\u6ca1\u6709\u5c31\u4f7f\u7528mysql\u57fa\u7840\u76ee\u5f55\u4e0b\u7684 \uff0c\u672c\u6587\u5c31\u662f \/usr\/local\/mysql\/my.cnf \uff0c\u6211\u4eec\u8fd8\u662f\u5c06\u914d\u7f6e\u6587\u4ef6\u653e\u5230etc\u4e0b \uff0c \u4e09\u4e2a\u914d\u7f6e\u6587\u4ef6\u5206\u522b\u4e3a my3306.cnf \u3001my3307.cnf\u3001my3308.cnf \uff0c\u53ef\u4ee5\u4ece\/usr\/local\/mysql\/my.cnf \u590d\u5236\u8fc7\u53bb<\/p>\n<pre class=\"prettyprint linenums\">cp \/usr\/local\/mysql\/my.cnf \/etc\/my3306.cnf \r\ncp \/usr\/local\/mysql\/my.cnf \/etc\/my3307.cnf\r\ncp \/usr\/local\/mysql\/my.cnf \/etc\/my3308.cnf\r\n<\/pre>\n<h3>4.\u5206\u522b\u7f16\u8f91\u4e09\u4e2a\u914d\u7f6e\u6587\u4ef6\uff1a<\/h3>\n<p><span style=\"color: #ff6600;\">my3306.cnf\uff1a<\/span><\/p>\n<pre class=\"prettyprint linenums\">[client]\r\nport = 3306\r\n#\u6307\u5b9a\u8be5\u7aef\u53e3\u6240\u7528\u7684 sock\u6587\u4ef6\r\nsocket = \/tmp\/mysql3306.sock\r\ndefault-character-set=UTF\r\n[mysqld]\r\nbasedir = \/usr\/local\/mysql\r\ndatadir = \/www\/mysqldata3306\r\nport = 3306\r\npid-file = \/www\/mysqldata3306\/mysqld.pid\r\nsocket = \/tmp\/mysql3306.sock\r\n\r\nsql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES \r\n[mysqld_safe]\r\n#\u9519\u8bef\u65e5\u5fd7\u7684\u4f4d\u7f6e\r\nlog-error=\/www\/mysqldata3306\/mysqld.log\r\n<\/pre>\n<p><span style=\"color: #ff6600;\">my3307.cnf\uff1a<\/span><\/p>\n<pre class=\"prettyprint linenums\">[client]\r\nport = 3307\r\n#\u6307\u5b9a\u8be5\u7aef\u53e3\u6240\u7528\u7684 sock\u6587\u4ef6\r\nsocket = \/tmp\/mysql3307.sock\r\ndefault-character-set=UTF\r\n[mysqld]\r\nbasedir = \/usr\/local\/mysql\r\ndatadir = \/www\/mysqldata3307\r\nport = 3307\r\npid-file = \/www\/mysqldata3307\/mysqld.pid\r\nsocket = \/tmp\/mysql3307.sock\r\n\r\nsql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES \r\n[mysqld_safe]\r\n#\u9519\u8bef\u65e5\u5fd7\u7684\u4f4d\u7f6e\r\nlog-error=\/www\/mysqldata3307\/mysqld.log\r\n<\/pre>\n<p><span style=\"color: #ff6600;\">my3308.cnf\uff1a\u540c\u4e0a \u628a\u6240\u67093307\u6539\u4e3a3308<\/span><\/p>\n<h2>\u542f\u52a8mysql\u5e76\u4fee\u6539\u7528\u6237\u5bc6\u7801<\/h2>\n<p>\u6267\u884c\u547d\u4ee4\uff0c\u5b89ctrl+c\u540e\u53f0\uff0c\u5982\u6709\u9519\u8bef\u53ef\u67e5\u770b\u6570\u636e\u76ee\u5f55\u4e0b\u7684\u65e5\u5fd7mysqld.log<\/p>\n<pre class=\"prettyprint linenums\">mysqld_safe  --defaults-extra-file=\/etc\/my3306.cnf --datadir=\/www\/mysqldata3306 --user=mysql &amp;\r\nmysqld_safe  --defaults-extra-file=\/etc\/my3307.cnf --datadir=\/www\/mysqldata3307 --user=mysql &amp;\r\nmysqld_safe  --defaults-extra-file=\/etc\/my3308.cnf --datadir=\/www\/mysqldata3308 --user=mysql &amp;\r\n<\/pre>\n<p>\u767b\u5f55\u4fee\u6539\u5bc6\u7801<\/p>\n<pre class=\"prettyprint linenums\">mysql -S \/tmp\/mysq3308.sock -P 3306\r\n<\/pre>\n<p>\u521d\u59cb\u767b\u5f55\u4e0d\u9700\u8981\u5bc6\u7801\uff0c\u767b\u5f55\u540e\u4fee\u6539\u5bc6\u7801\u4e3aroot@3306<\/p>\n<pre class=\"prettyprint linenums\">use mysql;\r\nupdate set password=password('root@3307') where user='root' and host='localhost';\r\n<\/pre>\n<p>\u540c\u7406\u53ef\u4fee\u65393307\u7aef\u53e3\u7684\u670d\u52a1 root\u5bc6\u7801\u4e3a root@3307 3308\u7aef\u53e3\u4e3aroot@3308\u65b9\u4fbf\u533a\u5206<\/p>\n<h2>\u542f\u52a8\u3001\u767b\u5f55\u548c\u505c\u6b62\u670d\u52a1<\/h2>\n<p>\u7f16\u8f91\u4e00\u4e2a\u7b80\u5355\u7684\u542f\u52a8\u811a\u672c\u65b9\u4fbf\u542f\u52a8mysql\uff0c\u6211\u4eec\u4f7f\u7528mysql_safe\u542f\u52a8\uff0c\u5e76\u5206\u522b\u6307\u5b9a\u6211\u4eec\u7684\u914d\u7f6e\u6587\u4ef6\u548c\u6570\u636e\u76ee\u5f55<br \/>\n\u542f\u52a8\u811a\u672c\uff1amysqlStart.sh \u5185\u5bb9\u5982\u4e0b\uff0c\u6ce8\u610f\u7ed9\u6267\u884c\u6743\u9650<\/p>\n<pre class=\"prettyprint linenums\">#!\/bin\/bash\r\nmysqld_safe --defaults-extra-file=\/etc\/my3306.cnf --datadir=\/www\/mysqldata3306 --user=mysql &amp; \r\nmysqld_safe --defaults-extra-file=\/etc\/my3307.cnf --datadir=\/www\/mysqldata3307 --user=mysql &amp; \r\nmysqld_safe --defaults-extra-file=\/etc\/my3308.cnf --datadir=\/www\/mysqldata3308 --user=mysql &amp;\r\n<\/pre>\n<p>\u505c\u6b62\u670d\u52a1\uff08mysqladmin -uroot -S \/tmp\/mysql3306.sock shutdown\uff09<br \/>\n\u6211\u4eec\u521b\u5efa\u811a\u672c\uff1amysqlStop.sh \u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n<pre class=\"prettyprint linenums\">#!\/bin\/bash\r\nmysqladmin -uroot -proot@$1 -S \/tmp\/mysql$1.sock shutdown\r\n<\/pre>\n<p>\u4f8b\u5982\u505c\u6b623306\u7aef\u53e3\u7684\u670d\u52a1\uff1a<\/p>\n<pre class=\"prettyprint linenums\">sh mysqlStop.sh 3306 \r\n<\/pre>\n<p>\u767b\u5f55\uff08mysql -S \/tmp\/mysq3308.sock -P 3308\uff09<br \/>\n\u6211\u4eec\u521b\u5efa\u811a\u672c\uff1amysqlLogin.sh \u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n<pre class=\"prettyprint linenums\">#!\/bin\/bash\r\nmysql -S \/tmp\/mysql$1.sock -P $1 -uroot -proot@$1 \r\n<\/pre>\n<p>\u4f8b\u5982\u767b\u5f553306\u7aef\u53e3\u7684\u670d\u52a1\uff1a<\/p>\n<pre class=\"prettyprint linenums\">sh mysqlLogin.sh 3306\r\n<\/pre>\n<p>\u67e5\u770b\u670d\u52a1\u72b6\u6001\uff1a<\/p>\n<pre class=\"prettyprint linenums\">ps -ef | grep mysql\r\n<\/pre>\n<p><a href=\"http:\/\/www.chenweikang.top\/wp-content\/uploads\/2017\/07\/mysql-status.png\" class=\"gallery_colorbox\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-384\" src=\"http:\/\/www.chenweikang.top\/wp-content\/uploads\/2017\/07\/mysql-status.png\"  alt=\"\" width=\"1039\" height=\"252\" srcset=\"https:\/\/www.chenweikang.top\/wp-content\/uploads\/2017\/07\/mysql-status.png 1039w, https:\/\/www.chenweikang.top\/wp-content\/uploads\/2017\/07\/mysql-status-300x73.png 300w, https:\/\/www.chenweikang.top\/wp-content\/uploads\/2017\/07\/mysql-status-768x186.png 768w, https:\/\/www.chenweikang.top\/wp-content\/uploads\/2017\/07\/mysql-status-1024x248.png 1024w\" sizes=\"auto, (max-width: 1039px) 100vw, 1039px\" \/><\/a><\/p>\n<h2>\u5176\u4ed6\u5b9e\u9a8c<\/h2>\n<ul>\n<li><a href=\"http:\/\/www.chenweikang.top\/mycat%E5%AE%9E%E9%AA%8C%EF%BC%881%EF%BC%89-%E5%8D%95%E4%B8%AA%E6%9C%8D%E5%8A%A1%E5%99%A8%E9%83%A8%E7%BD%B2%E5%A4%9A%E4%B8%AAmysql\/\">mycat\u5b9e\u9a8c\uff081\uff09-\u5355\u4e2a\u670d\u52a1\u5668\u90e8\u7f72\u591a\u4e2amysql<\/a><\/li>\n<li><a href=\"http:\/\/www.chenweikang.top\/mycat%E5%AE%9E%E9%AA%8C%EF%BC%882%EF%BC%89-%E9%85%8D%E7%BD%AEmysql%E4%B8%BB%E4%BB%8E%E5%90%8C%E6%AD%A5\/\">mycat\u5b9e\u9a8c\uff082\uff09-\u914d\u7f6emysql\u4e3b\u4ece\u540c\u6b65<\/a><\/li>\n<li><a href=\"http:\/\/www.chenweikang.top\/mycat%E5%AE%9E%E9%AA%8C%EF%BC%883%EF%BC%89-%E7%AE%80%E5%8D%95%E9%85%8D%E7%BD%AEmycat%EF%BC%8C%E5%AE%9E%E7%8E%B0%E8%AF%BB%E5%86%99%E5%88%86%E7%A6%BB\/\">mycat\u5b9e\u9a8c\uff083\uff09-\u7b80\u5355\u914d\u7f6emycat\uff0c\u5b9e\u73b0\u8bfb\u5199\u5206\u79bb<\/a><\/li>\n<li><a href=\"http:\/\/www.chenweikang.top\/mycat%E5%AE%9E%E9%AA%8C%EF%BC%884%EF%BC%89-mycat%E6%95%B0%E6%8D%AE%E5%88%86%E7%89%87%E6%B5%8B%E8%AF%95\/\">mycat\u5b9e\u9a8c\uff084\uff09-mycat\u6570\u636e\u5206\u7247\u6d4b\u8bd5<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>\u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff1a<a href=\"https:\/\/www.chenweikang.top\">\u5de6\u624b\u4ee3\u7801\u53f3\u624b\u8bd7<\/a> &raquo; <a href=\"https:\/\/www.chenweikang.top\/?p=381\">Mycat\u4e3b\u4ece\u540c\u6b65\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5206\u5e93\u5206\u8868\uff081\uff09-\u5355\u4e2a\u670d\u52a1\u5668\u90e8\u7f72\u591a\u4e2aMysql\u5b9e\u4f8b<\/a><\/p><div class=\"__youshang\">\r\n            <div id=\"__youshang_popup\" class=\"wechat popup\" style=\"display: none;\">\r\n                <div class=\"head\">~\u8c22\u8c22\u6253\u8d4f~<\/div>\r\n                <div class=\"qrcode\"><div class=\"qrcode-li wechat\" ><img src=\"https:\/\/www.chenweikang.top\/wp-content\/uploads\/2019\/07\/wexin.png\" \/><\/div><div class=\"qrcode-li alipay\" style=\"display:none;\"><img src=\"https:\/\/www.chenweikang.top\/wp-content\/uploads\/2019\/07\/ali-pay.png\" \/><\/div><div class=\"qrcode-li hongbao\" style=\"display:none;\"><img src=\"https:\/\/www.chenweikang.top\/wp-content\/uploads\/2019\/07\/ali-hongbao.png\" \/><\/div><\/div>\r\n                <ul class=\"platform\"><li class=\"icon-wechat active\" data-bg-color=\"#05af4e\" data-thanks=\"~\u8c22\u8c22\u6253\u8d4f~\"><\/li><li class=\"icon-alipay \" data-bg-color=\"#00a2ea\" data-thanks=\"~\u8c22\u8c22\u6253\u8d4f~\"><\/li><li class=\"icon-hongbao \" data-bg-color=\"#dd5746\" data-thanks=\"<p>\u626b\u7801\u9886\u7ea2\u5305<\/p><p style='margin-top: 24px;'>\uff08\u4f59\u989d\u5b9d\u652f\u4ed8\u65f6\u53ef\u62b5\u73b0\uff09<\/p>\"><\/li><\/ul>\r\n            <\/div>\r\n            <a href=\"javascript:void(0);\" id=\"__youshang_btn\">\u8d4f<\/a>\r\n        <\/div>","protected":false},"excerpt":{"rendered":"<p>MyCat\u662f\u57fa\u4e8e\u963f\u91cc\u5df4\u5df4\u7684\u5f00\u6e90\u4ea7\u54c1CoBar\u6f14\u53d8\u800c\u6765\uff0c\u4ee5\u4ee3\u66ff\u6602\u8d35\u7684oracle\u7684MySQL\u96c6\u7fa4\u7684\u4e2d\u95f4\u4ef6\u3002\u5173\u4e8eM [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":363,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[45,47],"class_list":["post-381","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database","tag-45","tag-47"],"_links":{"self":[{"href":"https:\/\/www.chenweikang.top\/index.php?rest_route=\/wp\/v2\/posts\/381","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chenweikang.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chenweikang.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chenweikang.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chenweikang.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=381"}],"version-history":[{"count":0,"href":"https:\/\/www.chenweikang.top\/index.php?rest_route=\/wp\/v2\/posts\/381\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.chenweikang.top\/index.php?rest_route=\/wp\/v2\/media\/363"}],"wp:attachment":[{"href":"https:\/\/www.chenweikang.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=381"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chenweikang.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=381"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chenweikang.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}