{"id":27853,"date":"2024-11-24T08:47:03","date_gmt":"2024-11-24T00:47:03","guid":{"rendered":"https:\/\/fwq.ai\/blog\/27853\/"},"modified":"2024-11-24T08:47:03","modified_gmt":"2024-11-24T00:47:03","slug":"%e8%ae%ba%e5%9d%9b%e7%bd%91%e9%a1%b5%e6%8a%a5%e9%94%99-500%ef%bc%9a%e6%95%b0%e6%8d%ae%e5%ba%93%e8%bf%9e%e6%8e%a5%e5%a4%b1%e8%b4%a5%ef%bc%8c%e5%a6%82%e4%bd%95%e6%8e%92%e6%9f%a5%ef%bc%9f-2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/27853\/","title":{"rendered":"\u8bba\u575b\u7f51\u9875\u62a5\u9519 500\uff1a\u6570\u636e\u5e93\u8fde\u63a5\u5931\u8d25\uff0c\u5982\u4f55\u6392\u67e5\uff1f"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/173132372670357.jpg\" class=\"aligncenter\" title=\"\u8bba\u575b\u7f51\u9875\u62a5\u9519 500\uff1a\u6570\u636e\u5e93\u8fde\u63a5\u5931\u8d25\uff0c\u5982\u4f55\u6392\u67e5\uff1f\u63d2\u56fe\" alt=\"\u8bba\u575b\u7f51\u9875\u62a5\u9519 500\uff1a\u6570\u636e\u5e93\u8fde\u63a5\u5931\u8d25\uff0c\u5982\u4f55\u6392\u67e5\uff1f\u63d2\u56fe\" \/><\/p>\n<p><strong>\u7591\u96be\u6392\u89e3\uff1a\u8bba\u575b\u7f51\u9875\u65e0\u6cd5\u8fd0\u884c\uff0c\u62a5\u9519 500<\/strong><\/p>\n<p>\u4f60\u9047\u5230\u7684\u9519\u8bef\u63d0\u793a\u4e3a\u201cHTTP \u72b6\u6001 500 &#8211; \u5185\u90e8\u670d\u52a1\u5668\u9519\u8bef\u201d\u3002\u539f\u56e0\u53ef\u80fd\u662f\u6570\u636e\u5e93\u8fde\u63a5\u4e0d\u4e0a\u3002<\/p>\n<p>\u9519\u8bef\u6d88\u606f\u4e2d\u63d0\u5230\u4e86\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n<ul>\n<li><strong>Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]<\/strong><\/li>\n<li><strong>Cannot create PoolableConnectionFactory (Unknown initial character set index &#8216;255&#8217; received from server. Initial client character set can be forced via the &#8216;characterEncoding&#8217; property.)<\/strong><\/li>\n<\/ul>\n<p>\u8fd9\u8868\u660e JDBC \u65e0\u6cd5\u8fde\u63a5\u5230\u6570\u636e\u5e93\uff0c\u56e0\u4e3a\u670d\u52a1\u5668\u548c\u5ba2\u6237\u7aef\u4e4b\u95f4\u7684\u5b57\u7b26\u7f16\u7801\u4e0d\u5339\u914d\u3002<\/p>\n<p><strong>\u89e3\u51b3\u65b9\u6848\uff1a<\/strong><\/p>\n<p>\u68c0\u67e5\u6570\u636e\u5e93\u914d\u7f6e\uff0c\u786e\u4fdd\u4ee5\u4e0b\u5185\u5bb9\u6b63\u786e\uff1a<\/p>\n<ul>\n<li><strong>\u6570\u636e\u5e93\u5730\u5740\u548c\u7aef\u53e3\u53f7<\/strong><\/li>\n<li><strong>\u7528\u6237\u540d\u548c\u5bc6\u7801<\/strong><\/li>\n<li><strong>\u6570\u636e\u5e93\u5b57\u7b26\u7f16\u7801<\/strong><\/li>\n<\/ul>\n<p>\u8fd8\u5e94\u786e\u4fdd\u9632\u706b\u5899\u6ca1\u6709\u963b\u6b62\u5e94\u7528\u7a0b\u5e8f\u4e0e\u6570\u636e\u5e93\u4e4b\u95f4\u7684\u8fde\u63a5\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u8bba\u575b\u7f51\u9875\u62a5\u9519 500\uff1a\u6570\u636e\u5e93\u8fde\u63a5\u5931\u8d25\uff0c\u5982\u4f55\u6392\u67e5\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7591\u96be\u6392\u89e3\uff1a\u8bba\u575b\u7f51\u9875\u65e0\u6cd5\u8fd0\u884c\uff0c\u62a5\u9519 500 \u4f60\u9047\u5230\u7684\u9519\u8bef\u63d0\u793a\u4e3a\u201cHTTP \u72b6\u6001 500 &#8211; \u5185\u90e8\u670d\u52a1\u5668\u9519\u8bef\u201d\u3002\u539f\u56e0\u53ef\u80fd\u662f\u6570\u636e\u5e93\u8fde\u63a5\u4e0d\u4e0a\u3002 \u9519\u8bef\u6d88\u606f\u4e2d\u63d0\u5230\u4e86\u4ee5\u4e0b\u5185\u5bb9\uff1a Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???] Cannot create PoolableConnectionFactory (Unknown initial character set index &#8216;255&#8217; received from server. Initial client character set can be forced via the &#8216;characterEncoding&#8217; property.) \u8fd9\u8868\u660e JDBC \u65e0\u6cd5\u8fde\u63a5\u5230\u6570\u636e\u5e93\uff0c\u56e0\u4e3a\u670d\u52a1\u5668\u548c\u5ba2\u6237\u7aef\u4e4b\u95f4\u7684\u5b57\u7b26\u7f16\u7801\u4e0d\u5339\u914d\u3002 \u89e3\u51b3\u65b9\u6848\uff1a \u68c0\u67e5\u6570\u636e\u5e93\u914d\u7f6e\uff0c\u786e\u4fdd\u4ee5\u4e0b\u5185\u5bb9\u6b63\u786e\uff1a \u6570\u636e\u5e93\u5730\u5740\u548c\u7aef\u53e3\u53f7 \u7528\u6237\u540d\u548c\u5bc6\u7801 \u6570\u636e\u5e93\u5b57\u7b26\u7f16\u7801 \u8fd8\u5e94\u786e\u4fdd\u9632\u706b\u5899\u6ca1\u6709\u963b\u6b62\u5e94\u7528\u7a0b\u5e8f\u4e0e\u6570\u636e\u5e93\u4e4b\u95f4\u7684\u8fde\u63a5\u3002 \u4ee5\u4e0a\u5c31\u662f\u8bba\u575b\u7f51\u9875\u62a5\u9519 500\uff1a\u6570\u636e\u5e93\u8fde\u63a5\u5931\u8d25\uff0c\u5982\u4f55\u6392\u67e5\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-27853","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/27853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=27853"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/27853\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=27853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=27853"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=27853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}