<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>peer &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/peer/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Tue, 17 Jan 2017 20:29:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>PostgreSQL psql FATAL: error Peer authentication failed for user</title>
		<link>https://www.dbrnd.com/2017/01/postgresql-psql-fatal-error-peer-authentication-failed-for-user-pg_hba-conf-file/</link>
					<comments>https://www.dbrnd.com/2017/01/postgresql-psql-fatal-error-peer-authentication-failed-for-user-pg_hba-conf-file/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Mon, 16 Jan 2017 20:29:04 +0000</pubDate>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[Password]]></category>
		<category><![CDATA[peer]]></category>
		<category><![CDATA[peer authentication]]></category>
		<category><![CDATA[pg_hba.conf]]></category>
		<category><![CDATA[plpgsql]]></category>
		<category><![CDATA[Postgres Query]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[PostgreSQL Administrator]]></category>
		<category><![CDATA[PostgreSQL Error]]></category>
		<category><![CDATA[PostgreSQL Programming]]></category>
		<category><![CDATA[PostgreSQL Tips and Tricks]]></category>
		<category><![CDATA[psql]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=4329</guid>

					<description><![CDATA[Recently, I have installed PostgreSQL 9.6 in Ubuntu 16.4. You can access the previous article and can find full detail installation steps. I was testing execution for one of my shell scripts. I have tried to connect PostgreSQL database and got this error. &#8221; psql FATAL: error Peer authentication failed for user &#8221; During at [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F01%2Fpostgresql-psql-fatal-error-peer-authentication-failed-for-user-pg_hba-conf-file%2F&amp;linkname=PostgreSQL%20psql%20FATAL%3A%20error%20Peer%20authentication%20failed%20for%20user" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F01%2Fpostgresql-psql-fatal-error-peer-authentication-failed-for-user-pg_hba-conf-file%2F&amp;linkname=PostgreSQL%20psql%20FATAL%3A%20error%20Peer%20authentication%20failed%20for%20user" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F01%2Fpostgresql-psql-fatal-error-peer-authentication-failed-for-user-pg_hba-conf-file%2F&amp;linkname=PostgreSQL%20psql%20FATAL%3A%20error%20Peer%20authentication%20failed%20for%20user" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F01%2Fpostgresql-psql-fatal-error-peer-authentication-failed-for-user-pg_hba-conf-file%2F&amp;linkname=PostgreSQL%20psql%20FATAL%3A%20error%20Peer%20authentication%20failed%20for%20user" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F01%2Fpostgresql-psql-fatal-error-peer-authentication-failed-for-user-pg_hba-conf-file%2F&amp;linkname=PostgreSQL%20psql%20FATAL%3A%20error%20Peer%20authentication%20failed%20for%20user" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F01%2Fpostgresql-psql-fatal-error-peer-authentication-failed-for-user-pg_hba-conf-file%2F&amp;linkname=PostgreSQL%20psql%20FATAL%3A%20error%20Peer%20authentication%20failed%20for%20user" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F01%2Fpostgresql-psql-fatal-error-peer-authentication-failed-for-user-pg_hba-conf-file%2F&#038;title=PostgreSQL%20psql%20FATAL%3A%20error%20Peer%20authentication%20failed%20for%20user" data-a2a-url="https://www.dbrnd.com/2017/01/postgresql-psql-fatal-error-peer-authentication-failed-for-user-pg_hba-conf-file/" data-a2a-title="PostgreSQL psql FATAL: error Peer authentication failed for user"></a></p><p>Recently, I have installed PostgreSQL 9.6 in Ubuntu 16.4.<br />
You can access the previous article and can find full detail installation steps.</p>
<p>I was testing execution for one of my shell scripts. I have tried to connect PostgreSQL database and got this error. &#8221; psql FATAL: error Peer authentication failed for user &#8221; </p>
<p>During at database call, I was supplying the username and password. I check pg_hba.conf file and replace peer with a password.</p>
<p><strong>In pg_hba.conf, change this line from value peer to password:</strong></p>
<pre class="crayon-plain-tag">local   all             all                        peer

to:

local   all             all                        password</pre> </p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2017/01/postgresql-psql-fatal-error-peer-authentication-failed-for-user-pg_hba-conf-file/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
