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

  • Home
  • SEARCH
  • 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 8539903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:28:38+00:00 2026-06-11T11:28:38+00:00

Getting: An error has occurred: Error connecting to the server: fe_sendauth: no password supplied

  • 0

Getting:

An error has occurred:

Error connecting to the server: fe_sendauth: no password supplied

Settings in database.yml are the same as the app setup on other machines.

How can I set things up so that I don’t need a password hardcoded?

I can view the db ok using PgAdmin-III.

I’d rather not have the password in database.yml as other machines using this app don’t have/need it, so it seems likely to be something about my Pg install.

  • 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-11T11:28:39+00:00Added an answer on June 11, 2026 at 11:28 am

    You need to change your change your pg_hba.conf. Here’s an example of mine:

    pg_hba.conf:

    TYPE  DATABASE        USER            ADDRESS                 METHOD
    
    host    all             all             127.0.0.1/32            trust
    
    host    all             PC             127.0.0.1/32            trust
    
    host    all             all             ::1/128                 trust
    

    Note that trust means that anyone on address (in this case localhost) can connect as the listed user (or in this case any user of their choice). This is really only suitable for development configurations with unimportant data. Do not use this in production.

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

Sidebar

Related Questions

An error has occurred while establishing a connection to the server. When connecting to
Is any one getting the following error Sorry, an error has occurred. We're working
Possible Duplicate: A transport-level error has occurred when receiving results from the server A
I am getting the error Uncaught OAuthException: An unknown error has occurred. thrown in
I'm getting an odd error from my composite canvas component: An ActionScript error has
I'm getting strange error 'int' object has no attribute 'startswith' I haven't used the
I am getting the error: object render has no method apply for the below
I am getting error unfortunately, myapp has stopped when I am trying to open
Getting this error when try to add an item to my repositories/context: Collection has
Getting this error with jquery & jquery.form. Site has been live for awhile..upgraded to

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.