{"id":808,"date":"2020-08-04T11:41:34","date_gmt":"2020-08-04T03:41:34","guid":{"rendered":"http:\/\/www.gbase8.cn\/?p=808"},"modified":"2020-09-15T08:02:35","modified_gmt":"2020-09-15T00:02:35","slug":"gbase-8a%e6%95%b0%e6%8d%ae%e5%ba%93%e9%9b%86%e7%be%a4%e5%90%8e%e5%8f%b0%e6%97%a5%e5%bf%97%e6%8a%a5%e9%94%99cant-create-a-connection-hostxxxdb-cause-cant-connect-to-gbase-server-on-xxx-99","status":"publish","type":"post","link":"https:\/\/www.gbase8.cn\/en\/808","title":{"rendered":"\u5357\u5927\u901a\u7528GBase 8a\u6570\u636e\u5e93\u96c6\u7fa4\u540e\u53f0\u65e5\u5fd7\u62a5\u9519can't create a connection. host:XXX,db:. Cause: Can't connect to GBase server on XXX (99)"},"content":{"rendered":"<p>GBase 8a\u6570\u636e\u5e93\u96c6\u7fa4\uff0c\u901a\u8fc7\u7f51\u7edc\u5728\u591a\u4e2a\u8282\u70b9\u95f4\u4ea4\u6362\u4fe1\u606f\uff0c\u5982\u679c\u51fa\u73b0\u8d44\u6e90\u4e0d\u8db3\uff0c\u7f51\u7edc\u65e0\u6cd5\u8fde\u63a5\u7b49\u60c5\u51b5\uff0c\u5219\u65e0\u6cd5\u521b\u5efa\u8fde\u63a5 can't create a connection\uff0c\u5177\u4f53\u539f\u56e0\u9700\u8981\u6839\u636e\u5c0f\u62ec\u53f7\u91cc\u64cd\u4f5c\u7cfb\u7edf\u8fd4\u56de\u7684\u9519\u8bef\u7801\u8fdb\u884c\u5206\u6790\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u539f\u56e0<\/h3>\n\n\n\n<p>\u53ef\u4ee5\u6839\u636e\u6700\u540e\u7684\u62ec\u53f7\u91cc\u7684\u6570\u5b57\u6765\u5927\u81f4\u5224\u65ad\u539f\u56e0\uff0c\u4f46\u5927\u591a\u6570\u662f\u5982\u4e0b\u51e0\u4e2a\u539f\u56e0<\/p>\n\n\n\n<p>1\u3001\u76ee\u6807\u8fde\u63a5\u6570\u592a\u591a\uff0c\u4f46\u4e00\u822c\u62a5\u9519\u4e3a too many connections\uff0c\u800c\u8fd9\u91cc\u662f can't\u3002\u53ef\u4ee5\u901a\u8fc7\u67e5\u770b\u672c\u673a\u548c\u8fdc\u7aefshow processlista\u67e5\u770b\u8fde\u63a5\u6570\u3002 <\/p>\n\n\n\n<p>2\u3001ulimit \u8d44\u6e90\u4e0d\u8db3\uff0c\u65e0\u6cd5\u521b\u5efa\u7ebf\u7a0b\u7b49\u3002\u53ef\u4ee5\u901a\u8fc7\u64cd\u4f5c\u7cfb\u7edfgbase\u7528\u6237\u7684ulimit -a\u67e5\u770b<\/p>\n\n\n\n<p>3\u3001\u9632\u706b\u5899\u963b\u585e\u4e86\u672c\u6b21\u8fde\u63a5\u3002\u770b\u770b\u9632\u706b\u5899\u65e5\u5fd7\u548c\u914d\u7f6e\uff0c\u5982\u679c\u662f\u5468\u671f\u6027\uff0c\u8003\u8651\u662f\u5426\u6709ddos\u65b9\u9762\u7b56\u7565\uff0c\u9632\u6b62\u6bb5\u65f6\u95f4\u5927\u91cf\u8fde\u63a5\u7684\u914d\u7f6e\u3002<\/p>\n\n\n\n<p>4\u3001\u7f51\u7edc\u5c42\u6545\u969c\uff0c\u5305\u62ec\u7f51\u7edc\u4e2d\u65ad\uff0c\u5730\u5740\u51b2\u7a81\u7b49\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><a href=\"http:\/\/www.gbase8.cn\/en\/?p=806\">Linux operating system error codes and return code explanations<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>\u5357\u5927\u901a\u7528GBase 8a\u6570\u636e\u5e93\u96c6\u7fa4\uff0c\u901a\u8fc7\u7f51\u7edc\u5728\u591a\u4e2a\u8282\u70b9\u95f4\u4ea4\u6362\u4fe1\u606f\uff0c\u5982\u679c\u51fa\u73b0\u8d44\u6e90\u4e0d\u8db3\uff0c\u7f51\u7edc\u65e0\u6cd5\u8fde\u63a5\u7b49\u60c5\u51b5\uff0c\u5219\u65e0\u6cd5\u521b\u5efa\u8fde\u63a5\uff0c\u5177\u4f53\u539f\u56e0\u9700\u8981\u6839\u636e\u5c0f\u62ec\u53f7\u91cc\u64cd\u4f5c\u7cfb\u7edf\u8fd4\u56de\u7684\u9519\u8bef\u7801\u8fdb\u884c\u5206\u6790\u3002<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54],"tags":[],"class_list":["post-808","post","type-post","status-publish","format-standard","hentry","category-gbase8a"],"_links":{"self":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/808","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/comments?post=808"}],"version-history":[{"count":2,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/808\/revisions"}],"predecessor-version":[{"id":1299,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/808\/revisions\/1299"}],"wp:attachment":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/media?parent=808"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/categories?post=808"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/tags?post=808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}