Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ODBC driver set up to connect to Postgres data base

Posted on 2000-05-17
1
Medium Priority
?
982 Views
Last Modified: 2012-08-13
Hi
 i am trying to connect a Pc application to a PostgreS data base on Linux, I've got ODBC driver to Postgres, but when I am doing my application using visual C there is a message:( No pg_hba.config entry for host ***.**.**.* user hola,database adios ). I think that the DSN spefication for the ODBS are not right, so
How can I set up the ODBC driver to connect to a Postgres data base in another machine.
thanks
0
Comment
Question by:abora
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
compinfo earned 60 total points
ID: 2942492
It sounds like you have to modify (edit) the pg_hba.conf file and uncomment (delete the '#' in front of the word 'host') (or add) the line:

host all 0.0.0.0 0.0.0.0 trust

after this, stop the postmaster and restar it.  (find the process id and kill using this command: KILL -HUP pid)

Does this help??
Compinfo

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question