×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Connect to tr database

Connect to tr database

Connect to tr database

(OP)
Hi Guys,

I am using IPOCC 10.1.2 .
I want to connect to the tr database to get some info. I am using ODBC 32bit . the problem that i have is that i get invalid password for Administrator. and I am sure I enter the corect password because I can use pgbackup to backup ipocc..
Is there a new way of doing it for latest version of ipocc ?

RE: Connect to tr database

Are you connecting from the IPOCC server or from another server?
As default remote connections aren't allowed to the database.

"Trying is the first step to failure..." - Homer

RE: Connect to tr database

(OP)
Directly from IPOCC Server.

I ussualy use Excel to connect to ODBC Datasource..so I first create a DSN with ODBC 32bit and then use Excel for Data import.
I haven't installed excel yet but I see that I can use user postgress with no password to connect to the tr database with odbc 32bit :|

RE: Connect to tr database

The IPOCC installation should already have created an ODBC connection to the TR database called TRS-DSN which you would use.
The postgres user is trusted on the local server so it should always be able to connect without password.

"Trying is the first step to failure..." - Homer

RE: Connect to tr database

You might also need to use localhost and not the IP of the server when creating a new ODBC.

"Trying is the first step to failure..." - Homer

RE: Connect to tr database

(OP)
Hi,

I had to get an avaya tech to reset my db admin password:D

Ok so I am using localhost to get a successfull connection, though I would also like in the feature to connect from another pc.
When I put the IP addr of IPOCC server i get an error : FATAL: no pg_hba.conf entry for host 192.168.1.3, user "Administrator"
database tr, SSL off
.. Which for me means that Administrator dosen't have rights (sort of speak - I am an amateur on databases) .

RE: Connect to tr database

You're only allowed to connect from localhost (127.0.0.1) to the database as default.

If you want to connect from another PC you need to allow that in the C:\ProgramData\Avaya\PostgreSQL\9.3\pg_hba.conf and restart the services.
The line below would allow you to access from 192.168.0.10 with any login.

host all all 192.168.0.10/32 md5

You could also specify which user is allowed to connect.

"Trying is the first step to failure..." - Homer

RE: Connect to tr database

(OP)
Thank you for this info janni..
I remember trying this on an ipocc server but what I did was to mess up everything.
I will try it on a test system and check it out.

Sorry for delayed reponse :)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close