PDA

View Full Version : sql



gg22
08-07-2010, 03:11 PM
Hi,

I want to know where is the file that contains the password of my sql database, that use HM to have acces to that database.

And I wanted to know if you share my sql password with any poker site.

Thank you.

Patvs
08-07-2010, 09:20 PM
Default postgresql password is postgrespass.
We use postgrespass for EVERY installation.


To change the password, the easiest thing to do is delete the postgres user:
click on Start and go to Programs -> Accessories -> Command Prompt
* If you are on Vista, rightclick and choose "Run as Administrator".
A black box should appear. Type 'net user postgres /del' (without the quotes) and press enter.
The user is now deleted and you can (re)install PostgreSQL.


Or edit the pg_hba file in the SQL/data folder

gg22
08-07-2010, 10:10 PM
That was not my point, sorry if i had not explained well.

- Holdem manager uses an Sql database where is all the information.

- When we create a database, with PostgreSql, we use superuser name and a password.

- Every time that we open HM, HM access to the Sql database using that superuser name and password.

What I wanted to know is where is saved and which is the name of the file that contain the information (encripted I supouse) that uses HM to acces to the database.

netsrak
08-08-2010, 05:56 AM
The file is config\holdemmanager.config

gg22
08-08-2010, 11:23 AM
That file is not encripted, I opened it with notepad and it show me all the data about configuration, including user name and password about my Sql database.

Why you did not encript that file??? I dont want that my sql data be so expose.

Could you explain me why is not encripted??

Patvs
08-09-2010, 02:50 AM
Why would we encrypt a file--> when 99% of all HM users all use the username:
postgres, password: postgrespass, port: 5432, server: 127.0.01

And since it's a internal server, you can't connect to that server from any computer outside of your home network.