Skip to content

No pg_hba.conf for host #72

@brbarkley

Description

@brbarkley

Issue Type

  • Feature Request
  • Bugfix/Errors
  • Questions
  • Other

Prerequisites (For bugfixes)

  • Are you running the latest version?
  • Did you check the logs?
  • Did you check the Setup?

Description

Received error message: "no pg_hba.conf entry for host..." when trying to connect to postgresql database using SQLTools. I can connect on same computer from command line using psql and via python using psycopg2. Do you know what the problem might be?

Steps to Reproduce (For bugfixes)

  1. Entered sqltools.connections settings

sqltoolsconnections

  1. Connect to database and receive message "currently connected"

  2. Used SQLToolsConnection: Run Query

Expected behavior: [What you expected to happen]
Expected to retrieve data from database

Actual behavior: [What actually happened]
Received error message: "no pg_hba.conf entry for host..."

image

Versions

  • Version: SQLTools v0.12.1
  • OS: Windows 10
  • SGDB: PostgresSQL

You can get this information from executing SQLTools: Version from VSCode Quick Open.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions