{"id":199562,"date":"2025-05-03T08:15:12","date_gmt":"2025-05-03T00:15:12","guid":{"rendered":"https:\/\/server.hk\/cnblog\/199562\/"},"modified":"2025-05-03T08:15:12","modified_gmt":"2025-05-03T00:15:12","slug":"ecshop%e6%95%b0%e6%8d%ae%e5%ba%93mysql%e5%8d%87%e7%ba%a7%e5%88%b0mariadb%e5%89%8d%e5%8f%b0%e5%90%8e%e5%8f%b0%e4%b8%ad%e6%96%87%e4%b9%b1%e7%a0%81","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/199562\/","title":{"rendered":"ecshop\u6570\u636e\u5e93Mysql\u5347\u7ea7\u5230MariaDB\u524d\u53f0\u540e\u53f0\u4e2d\u6587\u4e71\u7801"},"content":{"rendered":"<p>ecshop\u6570\u636e\u5e93Mysql\u5347\u7ea7\u5230MariaDB\u524d\u53f0\u540e\u53f0\u4e2d\u6587\u4e71\u7801\uff0c\u539f\u56e0\u662f\u670d\u52a1\u5668\u7684\u6570\u636e\u5e93\u7248\u672c\u7531Mysql\u5347\u7ea7\u5230MariaDB\uff0c\u6570\u636e\u5e93\u7248\u672c\u592a\u9ad8\u7684\u539f\u56e0\u5bfc\u81f4\u4e71\u7801\u95ee\u9898\u3002<br \/>\n<br \/> \u89e3\u51b3\u65b9\u6cd5\u6253\u5f00\/includes\/cls_mysql.php\u6587\u4ef6\uff0c\u641c\u7d22\u627e\u5230\u5982\u4e0b\u4ee3\u7801\uff1a <\/p>\n<pre>\r\n        $this-&gt;version = mysql_get_server_info($this-&gt;link_id);<\/pre>\n<p> \u5c06\u4ee3\u7801\u4fee\u6539\u6210\u5982\u4e0b <\/p>\n<pre>\r\n        $this-&gt;version = substr(mysql_get_server_info($this-&gt;link_id), 0, 4);<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>ecshop\u6570\u636e\u5e93Mysql\u5347\u7ea7&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4925],"tags":[],"class_list":["post-199562","post","type-post","status-publish","format-standard","hentry","category-4925"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/199562","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"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=199562"}],"version-history":[{"count":0,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/199562\/revisions"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=199562"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=199562"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=199562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}