PostgreSQL new installation Logon problem

Asked By 1000 points N/A Posted on -
qa-featured

Hi,

While I am Installing PostgreSQL, on my system this error message appears on my screen:

 

Account Error

Invalid username specified: Logon failure: unknown user name or bad password.

While I am working with the configuration screen, that above an error I mentioned pops up. I used the account name postgre and supplied my own password.

Before I had an installation of PostgreSQL, but unfortunately I forgot its password. That is why I decided to install it again, but as far as I remember all configurations of the setup before I duplicate it, is with this current installation.

My previous installation runs great, on my analysis it might be the installation problem, that is why I tried again reinstalling, but problem still persists. I am now wondering what might be the process or some glitch that I missed.

Can somebody help me on my problem?

All advice is welcome!

SHARE
Answered By 0 points N/A #123178

PostgreSQL new installation Logon problem

qa-featured

Hi,

The problem is that you forgot your password and did not remove your user PostgreSQL, this indicates the reason why during reinstallation this message would show on the service configuration screen. The right way would be to change your password instead of installing it again. Due to your case here is what you have to do now,

From the start menu select Run.

In this window, Type COMMAND and click the OK button.

The DOS window would open, you would have to type: 

net user postgres/delete

after typing this you have to hit the ENTER key.

Then you type Exit to close the DOS window.

Now try to reinstall PostgreSQL.

Related Questions