Skip to forum
Solution for: "fail...
 
Notifications
Clear all

Solution for: "failed to establish a connection to '127.0.0.1' "

128 Posts
107 Users
0 Reactions
85.4 K Views

I had the same problem when I tried to install PokerStrategy Elephant. Now i will show you how i fixed the problem.

First step: Uninstall PostgreSQL

> 1. Open Start menu > Control Panel > Add or Remove Programs and uninstall PostgreSQL
> 2. Open C:\Program Files\ and delete PostgreSQL folder
> 3. Open C:\Documents and Settings\ and delete the user created by PostgresSQL - "postgres" by default
> 4. Delete postgresql from Application data

- If your menu is classic path will be Start menu > Settings > Control Panel > Add or Remove Programs
- If you can't find how to delete the user created by PostgreSQL write C:\Documents and Settings\ in your browser or My Computer there are "All users" "Your computer name" and "postgresql" - by default
- If you can't find Application data write C:\Documents and Settings\YOUR COMPUTER NAME\Application Data in your browser or My Computer

Second step: Install PostgreSQL

> 1. Open C:\Program Files\PokerStrategy\PokerStrategy Elephant and find postgresql-8.3 (not postgresql-8.3-int) or directly write C:\Program Files\PokerStrategy\PokerStrategy Elephant\postgresql-8.3.msi in My Computer/Your browser.
> 2. Choose English > Start > Next > Next > Next
> 3. Service configuration:
- Service name: PostgreSQL Database Server 8.3
- Accout name: postgress (make it different from postgres with one s)
- Account domain: Leave account name like is by default ( account domain = your computer name )
- Choose account password and verify it then click Next
> 4. Click yes to create the new account who will be used from elephant.
> 5. In initialise database cluster change superuser name from postgres to postgress, write your password and then click Next and Finish

Third step: Enter your new username

Here you only have to write your new username "postgress" and your password

If you see "Database was successfully created and is ready for usage" everything might be okay.

If this works for you leave a comment and sorry for my bad english

If you still have problems feel free to contact me in skype: stanimirmihov


Reply
Quote
127 replies

Sucess!!!!
Thank you very much for spending time on a very compreensive instruction.
I have been trying for over two months to install Elephant without sucess, although lots of people gently tried to help. This time it worked


Reply
Quote

No problem. you're welcome ;>


Reply
Quote
TribunCaesar
Joined: 29.04.2007

sticky ftw

nice one batman


Reply
Quote

Thanx a lot!!!

finally got it ;)


Reply
Quote
Termi8r
Joined: 04.02.2008

NICE! Installed it onto a second computer now and at first it didn't want to work and this post helped a lot! Thanks :)


Reply
Quote
jmackenzie
Joined: 04.06.2008

cheers for the help mate!


Reply
Quote
qcjunior
Joined: 07.09.2008

X(I have un-installed,and deleted the elephant and postgressql everywhere on my computer,then re-installed the elephant,but postgressql didn't come with it.Is it part of the download?Where is it hiding?or is it not compatible with windows vista?Is there a course I need to take
(downloading 101)?


Reply
Quote

Hey qcjunior,
Unfortunatly this guide is only for Windows XP Home/Pro edition


Reply
Quote

i have a problem when i am installing postgre in section INITIALIZE DATABASE CLUSTER

i changed the location and wrote the pasword but when i click next i have an error
THE SELECTED ENCODING IS NOT VALID FOT THE CHOSEN LOCALE


Reply
Quote

ty a lot.. finally program is working.. tks


Reply
Quote
TheBrood
Joined: 17.07.2008

"Third step: Enter your new username

Here you only have to write your new username "portgress" and your password

If you see "Database was successfully created and is ready for usage" everything might be okay."

Correction: Its postgress not portgress


Reply
Quote

I edit my post, thanks for the correction


Reply
Quote

thanks very much


Reply
Quote
TheBrood
Joined: 17.07.2008

btw, Third Step means run the program again.


Reply
Quote
mib3333
Joined: 30.07.2007

Thank you very much!!! Great job!


Reply
Quote
JVV
JVV
Joined: 20.05.2008

Thanks alot. I got it!


Reply
Quote

ur a legend bro cheers.


Reply
Quote
ALmightyAL
Joined: 10.12.2007

TY very much! It works now :) :heart:


Reply
Quote

Your the greatest batman, thanks very much.

Had to restore my computer following unrelated problem and couldn't seem to get elephant to work until read this post.

Thanks again,

Bart


Reply
Quote