{"provider_url":"https://hatena.blog","type":"rich","provider_name":"Hatena Blog","published":"2020-11-27 10:04:05","blog_title":"\u5efa\u8a2d\u4e88\u5b9a\u5730","url":"https://hackteck.hatenablog.com/entry/2020/11/27/100405","image_url":null,"categories":[],"width":"100%","version":"1.0","author_url":"https://blog.hatena.ne.jp/denham/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhackteck.hatenablog.com%2Fentry%2F2020%2F11%2F27%2F100405\" title=\"PostgreSQL\u5c0e\u5165\u5099\u5fd8\u9332\uff08peer\u8a8d\u8a3c\u30a8\u30e9\u30fc\uff09 - \u5efa\u8a2d\u4e88\u5b9a\u5730\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://hackteck.hatenablog.com/","title":"PostgreSQL\u5c0e\u5165\u5099\u5fd8\u9332\uff08peer\u8a8d\u8a3c\u30a8\u30e9\u30fc\uff09","description":"\u74b0\u5883 \u30fbUbuntu18.04\uff08WSL2\uff09 \u30fbpostgres (PostgreSQL) 11.2 \u554f\u984c $ psql -U postgres -d postgres \u30b3\u30de\u30f3\u30c9\u3067psql\u306b\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u305a\u3001 psql: error: FATAL: Peer authentication failed for user \"postgres\" \u306a\u308b\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u308b \u539f\u56e0 \u30fbpeer\u8a8d\u8a3c\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b peer\u8a8d\u8a3c\u3068\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u6642\u306bpostgres\uff08OS\u5074\uff09\u306e\u30e6\u30fc\u30b6\u30fc\u540d\u304cpostgres\uff08\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5074\uff09\u306e\u3082\u306e\u3068\u4e00\u81f4\u3057\u3066\u3044\u308b\u5834\u5408\u306e\u307f\u63a5\u7d9a\u3092\u8a31\u53ef\u3059\u308b\u8a8d\u8a3c\u65b9\u6cd5\u3067\u3001\u3053\u3053\u304c\u4e0d\u4e00\u81f4\u306e\u305f\u3081\u306b\u6012\u3089\u2026","author_name":"denham","height":"190"}