Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8447027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T10:05:01+00:00 2026-06-10T10:05:01+00:00

I have added in pg_hba.conf on the server side this line : host all

  • 0

I have added in pg_hba.conf on the server side this line :

host     all         all    host_ip             md5

But i am still getting the error

DBI connect(‘database=databasename;host=server_host_ip’,’username’,…) failed: FATAL: no pg_hba.conf entry for host “host_ip”, user “username”, database “databasename”, SSL off at /usr/local/share/perl/5.10.1/DBIx/DataStore.pm line 1983.
[Fri Aug 24 11:01:03 2012] /usr/local/share/perl/5.10.1/DBIx/DataStore.pm,1029: Validation of connection to primary database failed!
Died at /usr/local/share/perl/5.10.1/DBIx/DataStore.pm line 1029.`

what i am missing?

UPDATE
perl merge_infos.pl

DBI connect('database=diamas;host=67.23.10.243','dia',...) failed: FATAL:  no pg_hba.conf entry for host "38.104.59.18", user "dia", database "diamas", SSL off at /usr/local/share/perl/5.10.1/DBIx/DataStore.pm line 1983.  

pg_hba.conf (remote sever)

host    all         all         38.104.59.18/32       trust  

THE CALL (local machine)
(in script) merge_infos.pl

use DBIx::DataStore ( config => 'yaml' );
my $olddb = DBIx::DataStore->new('www');

datastore.yml

www:
primary:
driver: Pg
database: diamas
user: dia
password: ***
host: 67.23.10.243
schemas:
  - public
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T10:05:02+00:00Added an answer on June 10, 2026 at 10:05 am

    i edited the wrong pg_hba.conf file

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In pg_hba.conf, I have host all all 127.0.0.1/32 md5 host all all samenet md5
I have added an extra field Specification in Catalog->Product->Data tab. This text is stored
I have added a checker to ensure that all fields in a form have
I have added the sdk files like dropbox website says, but I can't figure
I have added this to a class comment: @link http://www.google.com Google @endlink However, when
We have added a yes/no product attribute labelled: Allow this product to have coupons
I have added the following line in my Pre-deployment section (SharePoint) to clear my
I have added some testers to my Facebook application while it is still in
I have added Google Analytics script to my website (ASP.NET on Windows server 2008
I have added some code which compiles cleanly and have just received this Windows

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.