Page 1 of 1

installation error

PostPosted: Sat Apr 26, 2008 7:10 am
by Rony08
i try to install postgres on my new computer, and i always have the same error

user 'postgres' could not be created the user account already exist

could you help me please

thanks

Re: installation error

PostPosted: Sat Apr 26, 2008 9:28 am
by ptrack pat
From the Start menu select Run.
Type COMMAND into the window that opens and hit OK.
This will open a DOS window. Type the following...

net user postgres /delete

and hit ENTER to run this command.

Then type EXIT to close the window and then reinstall PostgreSQL.

Re: installation error

PostPosted: Sat Apr 26, 2008 3:02 pm
by Rony08
i do it and i'm still get the same error

Re: installation error

PostPosted: Sat Apr 26, 2008 4:11 pm
by ptrack pat
When you ran the statement I gave you above, did it give you an error message or tell you the name was deleted.

Do it again. What happens when you enter that text and hit ENTER. What is the message that comes up in the DOS window after you enter it? If it's an error then you didn't type the text exactly as it's been entered above.

Re: installation error

PostPosted: Sat Apr 26, 2008 5:15 pm
by WhiteRider
Note that there's no space betwee the / and "delete", ie.
Code: Select all
net user postgres /delete

That caught me out the first time.

Re: installation error

PostPosted: Sun Apr 27, 2008 9:35 am
by Rony08
thanks for your help, everything work wells

have a nice days