{"id":1032,"date":"2019-01-08T11:49:52","date_gmt":"2019-01-08T11:49:52","guid":{"rendered":"http:\/\/www.manageengine.jp\/support\/kb\/Desktop_Central\/?p=1032"},"modified":"2022-06-22T18:43:41","modified_gmt":"2022-06-22T09:43:41","slug":"%e3%83%aa%e3%83%a2%e3%83%bc%e3%83%88db%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9%e6%a9%9f%e8%83%bd%e3%81%ae%e5%88%a9%e7%94%a8%e6%89%8b%e9%a0%86","status":"publish","type":"post","link":"https:\/\/www.manageengine.jp\/support\/kb\/Endpoint_Central\/?p=1032","title":{"rendered":"\u30ea\u30e2\u30fc\u30c8DB\u30a2\u30af\u30bb\u30b9\u6a5f\u80fd\u306e\u5229\u7528\u624b\u9806"},"content":{"rendered":"<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001\u30ea\u30e2\u30fc\u30c8DB\u30a2\u30af\u30bb\u30b9\u6a5f\u80fd\u306e\u5229\u7528\u624b\u9806\u306b\u3064\u3044\u3066\u8a18\u8f09\u3044\u305f\u3057\u307e\u3059\u3002\u30ea\u30e2\u30fc\u30c8DB\u30a2\u30af\u30bb\u30b9\u6a5f\u80fd\u3068\u306f\u3001Desktop Central\u306b\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30d0\u30f3\u30c9\u30eb\u3055\u308c\u3066\u3044\u308bPostgreSQL\u3078\u5916\u90e8PC\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u6a5f\u80fd\u3067\u3059\u3002<\/p>\n<h4>\u30ea\u30e2\u30fc\u30c8DB\u30a2\u30af\u30bb\u30b9\u6a5f\u80fd\u306e\u5229\u7528\u624b\u9806<\/h4>\n<p>\u30ea\u30e2\u30fc\u30c8DB\u30a2\u30af\u30bb\u30b9\u6a5f\u80fd\u3092\u6709\u52b9\u306b\u3059\u308b\u3068\u3001Desktop Central\u30b5\u30fc\u30d0\u30fc\u3067\u4f7f\u7528\u3057\u3066\u3044\u308bPostgreSQL\u3078Desktop Central\u30b5\u30fc\u30d0\u30fc\u4ee5\u5916\u306ePC\u304b\u3089\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div class=\"point\">\n\u672c\u6a5f\u80fd\u306f\u3001\u30ec\u30dd\u30fc\u30c8\u7b49\u306b\u5229\u7528\u3059\u308b\u305f\u3081\u306e\u6a5f\u80fd\u3067\u3059\u3002\u672c\u6a5f\u80fd\u3092\u7528\u3044\u3066<b>\u30c7\u30fc\u30bf\u306e\u7de8\u96c6\u3001\u8ffd\u52a0\u3001\u524a\u9664\u7b49\u3092\u884c\u3046\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093<\/b>\u3002<br \/>\n\u5b9a\u671f\u7684\u306b\u8a2d\u5b9a\u5185\u5bb9\u3092\u78ba\u8a8d\u3057\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u5fc5\u8981\u304c\u7121\u304f\u306a\u3063\u305f\u5834\u5408\u306f\u3001\u8a31\u53ef\u3092\u53d6\u308a\u6d88\u3057\u3066\u304a\u304f\u3053\u3068\u3092\u304a\u52e7\u3081\u3044\u305f\u3057\u307e\u3059\u3002\n<\/div>\n<h5>\u524d\u63d0\u6761\u4ef6<\/h5>\n<ul>\n<li><a href=\"https:\/\/www.manageengine.jp\/support\/kb\/Desktop_Central\/?p=10\">\u30ea\u30e2\u30fc\u30c8DB\u30a2\u30af\u30bb\u30b9\u3067\u4f7f\u7528\u3059\u308b\u30dd\u30fc\u30c8<\/a>\u3092Desktop Central\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u958b\u653e\u3057\u307e\u3059\u3002<\/li>\n<li>\u63a5\u7d9a\u3059\u308b\u30ea\u30e2\u30fc\u30c8PC\u3054\u3068\u306b\u30a2\u30af\u30bb\u30b9\u3092\u8a31\u53ef\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u30ea\u30e2\u30fc\u30c8PC\u306ePC\u540d\u304c\u3042\u3089\u304b\u3058\u3081\u5224\u660e\u3057\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<hr>\n<h5>\u30ea\u30e2\u30fc\u30c8DB\u30a2\u30af\u30bb\u30b9\u6a5f\u80fd\u306e\u5229\u7528\u624b\u9806<\/h5>\n<ol>\n<li>\u7ba1\u7406\u30bf\u30d6 &gt; \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u8a2d\u5b9a &gt; \u30ea\u30e2\u30fc\u30c8DB\u30a2\u30af\u30bb\u30b9 \u306b\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<li>[\u30a2\u30af\u30bb\u30b9\u306e\u8a31\u53ef]\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n  <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1033\" src=\"http:\/\/www.manageengine.jp\/support\/kb\/Desktop_Central\/wp-content\/uploads\/sites\/16\/2019\/01\/RemoteDBAccess1.jpg\" alt=\"\" width=\"600\" height=\"164\" srcset=\"https:\/\/www.manageengine.jp\/support\/kb\/Endpoint_Central\/wp-content\/uploads\/sites\/16\/2019\/01\/RemoteDBAccess1.jpg 1918w, https:\/\/www.manageengine.jp\/support\/kb\/Endpoint_Central\/wp-content\/uploads\/sites\/16\/2019\/01\/RemoteDBAccess1-300x82.jpg 300w, https:\/\/www.manageengine.jp\/support\/kb\/Endpoint_Central\/wp-content\/uploads\/sites\/16\/2019\/01\/RemoteDBAccess1-1024x280.jpg 1024w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/li>\n<li>\u30ea\u30e2\u30fc\u30c8PC\u540d: \u63a5\u7d9a\u3059\u308bPC\u540d\u3092\u5165\u529b\u3057\u307e\u3059\u3002\u30ea\u30e2\u30fc\u30c8PC\u304cDesktop Central\u30b5\u30fc\u30d0\u30fc\u3068\u7570\u306a\u308b\u30c9\u30e1\u30a4\u30f3\u306b\u3042\u308b\u5834\u5408\u306f\u3001FQDN\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/li>\n<li>[DB\u306e\u30a2\u30af\u30bb\u30b9\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5909\u66f4\u3059\u308b]\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<li>\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3001\u7d9a\u884c\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<li>\u78ba\u8a8d\u7528\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/li>\n<p>  <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1034\" src=\"http:\/\/www.manageengine.jp\/support\/kb\/Desktop_Central\/wp-content\/uploads\/sites\/16\/2019\/01\/RemoteDBAccess2.jpg\" alt=\"\" width=\"600\" height=\"378\" srcset=\"https:\/\/www.manageengine.jp\/support\/kb\/Endpoint_Central\/wp-content\/uploads\/sites\/16\/2019\/01\/RemoteDBAccess2.jpg 567w, https:\/\/www.manageengine.jp\/support\/kb\/Endpoint_Central\/wp-content\/uploads\/sites\/16\/2019\/01\/RemoteDBAccess2-300x189.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/li>\n<li>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u8d77\u52d5\u3057\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d\u3092 desktopcentral \u3001\u30e6\u30fc\u30b6\u30fc\u540d\u3092 medc \u306b\u3057\u3066PostgreSQL\u306b\u63a5\u7d9a\u3057\u307e\u3059\u3002<br \/>\n<blockquote style=\"margin-top: 10px\"><p>(\u4f8b)psql -d\u00a0desktopcentral\u00a0-U medc -h &lt;Desktop Central\u30b5\u30fc\u30d0\u30fc\u306e\u30db\u30b9\u30c8\u540d\u307e\u305f\u306fIP\u30a2\u30c9\u30ec\u30b9&gt; -p 8028<\/p><\/blockquote>\n<\/li>\n<li>\u5148\u307b\u3069\u8a2d\u5b9a\u3057\u305f\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>\u4ee5\u4e0a\u3067\u3001Postgres\u306b\u3066\u64cd\u4f5c\u304c\u53ef\u80fd\u306a\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div class=\"point\">\npsql: FATAL: no pg_hba.conf entry for host \"&lt;IP\u30a2\u30c9\u30ec\u30b9&gt;\", user \"medc\", database \"desktopcentral\", SSL off\u304c\u8868\u793a\u3055\u308c\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u5bfe\u5fdc\u3092\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>&lt;Desktop Central\u30b5\u30fc\u30d0\u30fc\u30d5\u30a9\u30eb\u30c0\u30fc&gt;\\psql\\data\\pg_hba.conf \u3092\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u958b\u304d\u307e\u3059\u3002<br \/>\n&lt;Desktop Central\u30b5\u30fc\u30d0\u30fc\u30d5\u30a9\u30eb\u30c0\u30fc&gt;\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306fC:\\Program Files\\DesktopCentral_Server\u307e\u305f\u306fC:\\ManageEngine\\DesktopCentral_Server\u3067\u3059\u3002*\u30b5\u30fc\u30d0\u30fc\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3068\u304d\u306e\u30d3\u30eb\u30c9\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002<br \/>\n\uff08\u4f8b\uff09 C:\\Program Files\\DesktopCentral_Server\\pgsql\\data\\pg_hba.conf <\/li>\n<li>\u4ee5\u4e0b\u306e\u5185\u5bb9\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<br \/>\n<blockquote style=\"margin-top: 10px\"><p>(\u7de8\u96c6\u524d)<br \/>\n  #\t TYPE\t DATABASE\t USER\t ADDRESS\t METHOD<br \/>\n  host\t all\t all\t 127.0.0.1\/32\t md5<\/p><\/blockquote>\n<p>  ADDRESS\u306b\u306fDB\u306b\u63a5\u7d9a\u3057\u305f\u3044\u30af\u30e9\u30a4\u30a2\u30f3\u30c8PC\u306eIP\u30a2\u30c9\u30ec\u30b9(\u4f8b 192.168.2.3\/24) \u3092\u3001METHOD\u306b\u306ftrust(\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3057\u3067\u8a8d\u8a3c)\u3092\u5165\u529b\u3057\u307e\u3059\u3002IP\u30a2\u30c9\u30ec\u30b9\u304c\u8907\u6570\u3042\u308b\u5834\u5408\u306f\u3001\u6b21\u4ee5\u964d\u306e\u884c\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<blockquote style=\"margin-top: 10px\"><p>(\u7de8\u96c6\u5f8c)<br \/>\n  #\t TYPE\t DATABASE\t USER\t ADDRESS\t METHOD<br \/>\n  host\t all\t all\t &lt;\u63a5\u7d9a\u3092\u8a31\u53ef\u3057\u305f\u3044\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306eIP&gt;\t trust<\/p><\/blockquote>\n<\/li>\n<li>pg_hba.conf\u3092\u4fdd\u5b58\u3057\u3001\u518d\u5ea6\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089\u63a5\u7d9a\u3092\u8a66\u884c\u3057\u307e\u3059\u3002<\/li><\/div>\n<p>&nbsp;<\/p>\n<hr>\n<h5>\u30ea\u30e2\u30fc\u30c8DB\u30a2\u30af\u30bb\u30b9\u6a5f\u80fd\u306e\u5229\u7528\u505c\u6b62<\/h5>\n<ol>\n<li>\u7ba1\u7406\u30bf\u30d6 &gt; \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u8a2d\u5b9a &gt; \u30ea\u30e2\u30fc\u30c8DB\u30a2\u30af\u30bb\u30b9 \u306b\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<li>\u30a2\u30af\u30b7\u30e7\u30f3 &gt; \u30a2\u30af\u30bb\u30b9\u3092\u53d6\u6d88 \u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>\u4ee5\u4e0a\u3067\u3001\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u3092\u53d6\u308a\u6d88\u3057\u307e\u3059\u3002<br \/>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001\u30ea\u30e2\u30fc\u30c8DB\u30a2\u30af\u30bb\u30b9\u6a5f\u80fd\u306e\u5229\u7528\u624b\u9806\u306b\u3064\u3044\u3066\u8a18\u8f09\u3044\u305f\u3057\u307e\u3059\u3002\u30ea\u30e2\u30fc\u30c8DB\u30a2\u30af\u30bb\u30b9\u6a5f\u80fd\u3068\u306f\u3001Desktop Central\u306b\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30d0\u30f3\u30c9\u2026 <a href=\"https:\/\/www.manageengine.jp\/support\/kb\/Endpoint_Central\/?p=1032\" class=\"more\">\uff3b\u7d9a\u304d\u3092\u8aad\u3080\uff3d<\/a><\/p>\n","protected":false},"author":43,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[7],"tags":[336,337,338,335,17],"class_list":{"0":"post-1032","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-04specifications","7":"tag-db","8":"tag-postgres","9":"tag-postgresql","11":"tag-admin"},"modified_by":null,"_links":{"self":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/Endpoint_Central\/index.php?rest_route=\/wp\/v2\/posts\/1032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/Endpoint_Central\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/Endpoint_Central\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/Endpoint_Central\/index.php?rest_route=\/wp\/v2\/users\/43"}],"replies":[{"embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/Endpoint_Central\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1032"}],"version-history":[{"count":9,"href":"https:\/\/www.manageengine.jp\/support\/kb\/Endpoint_Central\/index.php?rest_route=\/wp\/v2\/posts\/1032\/revisions"}],"predecessor-version":[{"id":7448,"href":"https:\/\/www.manageengine.jp\/support\/kb\/Endpoint_Central\/index.php?rest_route=\/wp\/v2\/posts\/1032\/revisions\/7448"}],"wp:attachment":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/Endpoint_Central\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/Endpoint_Central\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/Endpoint_Central\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}