<?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>reset postgres password &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/reset-postgres-password/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>Wed, 24 Aug 2016 17:54:48 +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: password authentication failed for user &#8220;postgres&#8221; in Ubuntu</title>
		<link>https://www.dbrnd.com/2016/08/postgresql-password-authentication-failed-for-user-postgres-in-ubuntu-reset-forgot-postgres-super-user-password/</link>
					<comments>https://www.dbrnd.com/2016/08/postgresql-password-authentication-failed-for-user-postgres-in-ubuntu-reset-forgot-postgres-super-user-password/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Wed, 24 Aug 2016 17:54:48 +0000</pubDate>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[forget postgres password]]></category>
		<category><![CDATA[invalid user]]></category>
		<category><![CDATA[plpgsql]]></category>
		<category><![CDATA[Postgres Query]]></category>
		<category><![CDATA[postgres super user]]></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[reset postgres password]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=3553</guid>

					<description><![CDATA[While doing your first PostgreSQL login, Have you got an error like: password authentication failed for user &#8220;postgres&#8221;. Relax, No problem ! This is very common error for the user of Linux PostgreSQL. Here,You can access other related and important articles. PostgreSQL: How to Install PostgreSQL 9.4 on Ubuntu 14.04? PostgreSQL: How to Allow Remote [&#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%2F2016%2F08%2Fpostgresql-password-authentication-failed-for-user-postgres-in-ubuntu-reset-forgot-postgres-super-user-password%2F&amp;linkname=PostgreSQL%3A%20password%20authentication%20failed%20for%20user%20%E2%80%9Cpostgres%E2%80%9D%20in%20Ubuntu" 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%2F2016%2F08%2Fpostgresql-password-authentication-failed-for-user-postgres-in-ubuntu-reset-forgot-postgres-super-user-password%2F&amp;linkname=PostgreSQL%3A%20password%20authentication%20failed%20for%20user%20%E2%80%9Cpostgres%E2%80%9D%20in%20Ubuntu" 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%2F2016%2F08%2Fpostgresql-password-authentication-failed-for-user-postgres-in-ubuntu-reset-forgot-postgres-super-user-password%2F&amp;linkname=PostgreSQL%3A%20password%20authentication%20failed%20for%20user%20%E2%80%9Cpostgres%E2%80%9D%20in%20Ubuntu" 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%2F2016%2F08%2Fpostgresql-password-authentication-failed-for-user-postgres-in-ubuntu-reset-forgot-postgres-super-user-password%2F&amp;linkname=PostgreSQL%3A%20password%20authentication%20failed%20for%20user%20%E2%80%9Cpostgres%E2%80%9D%20in%20Ubuntu" 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%2F2016%2F08%2Fpostgresql-password-authentication-failed-for-user-postgres-in-ubuntu-reset-forgot-postgres-super-user-password%2F&amp;linkname=PostgreSQL%3A%20password%20authentication%20failed%20for%20user%20%E2%80%9Cpostgres%E2%80%9D%20in%20Ubuntu" 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%2F2016%2F08%2Fpostgresql-password-authentication-failed-for-user-postgres-in-ubuntu-reset-forgot-postgres-super-user-password%2F&amp;linkname=PostgreSQL%3A%20password%20authentication%20failed%20for%20user%20%E2%80%9Cpostgres%E2%80%9D%20in%20Ubuntu" 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%2F2016%2F08%2Fpostgresql-password-authentication-failed-for-user-postgres-in-ubuntu-reset-forgot-postgres-super-user-password%2F&#038;title=PostgreSQL%3A%20password%20authentication%20failed%20for%20user%20%E2%80%9Cpostgres%E2%80%9D%20in%20Ubuntu" data-a2a-url="https://www.dbrnd.com/2016/08/postgresql-password-authentication-failed-for-user-postgres-in-ubuntu-reset-forgot-postgres-super-user-password/" data-a2a-title="PostgreSQL: password authentication failed for user “postgres” in Ubuntu"></a></p><p>While doing your first PostgreSQL login, Have you got an error like: password authentication failed for user &#8220;postgres&#8221;.</p>
<p><strong>Relax, No problem !<br />
This is very common error for the user of Linux PostgreSQL.</strong></p>
<p>Here,You can access other related and important articles.</p>
<blockquote class="wp-embedded-content" data-secret="xCKaHzbP13"><p><a href="https://www.dbrnd.com/2016/04/postgresql-how-to-install-postgresql-9-4-on-ubuntu-14-04/">PostgreSQL: How to Install PostgreSQL 9.4 on Ubuntu 14.04?</a></p></blockquote>
<p><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  src="https://www.dbrnd.com/2016/04/postgresql-how-to-install-postgresql-9-4-on-ubuntu-14-04/embed/#?secret=xCKaHzbP13" data-secret="xCKaHzbP13" width="600" height="338" title="&#8220;PostgreSQL: How to Install PostgreSQL 9.4 on Ubuntu 14.04?&#8221; &#8212; Database Research &amp; Development" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
<blockquote class="wp-embedded-content" data-secret="gS7igLUThJ"><p><a href="https://www.dbrnd.com/2016/01/postgresql-how-to-allow-remote-connection-to-connect-database/">PostgreSQL: How to Allow Remote Connection to Connect Database</a></p></blockquote>
<p><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  src="https://www.dbrnd.com/2016/01/postgresql-how-to-allow-remote-connection-to-connect-database/embed/#?secret=gS7igLUThJ" data-secret="gS7igLUThJ" width="600" height="338" title="&#8220;PostgreSQL: How to Allow Remote Connection to Connect Database&#8221; &#8212; Database Research &amp; Development" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
<blockquote><p>When we install PostgreSQL on Linux, by default, no any password assigns to the Postgres super user.<br />
We should explicitly SET the postgres user password using something like below command.</p></blockquote>
<pre class="crayon-plain-tag">ubuntu@:~$ sudo passwd postgres
Enter new UNIX password:****
Retype new UNIX password:****
passwd: password updated successfully</pre> </p>
<p><strong>Now try to connect using postgres user:</strong></p>
<pre class="crayon-plain-tag">ubuntu@:~$ su postgres
Password:****</pre> </p>
<p><strong>What If I forgot my Postgres user password?</strong></p>
<blockquote><p>If you forgot your postgres password, you can login without password by changing &#8220;md5&#8221; to &#8220;trust&#8221; in pg_hba.conf file and restart the PostgreSQL server.<br />
<strong>After login, you can ALTER postgres user:</strong></p>
<pre class="crayon-plain-tag">ALTER USER postgres PASSWORD 'MyNewPassword';</pre> </p>
<p>Now again change your pg_hba.conf entry from &#8220;trust&#8221; to &#8220;md5&#8221; and restart the PostgreSQL server. </p></blockquote>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2016/08/postgresql-password-authentication-failed-for-user-postgres-in-ubuntu-reset-forgot-postgres-super-user-password/feed/</wfw:commentRss>
			<slash:comments>8</slash:comments>
		
		
			</item>
	</channel>
</rss>
