Skip to content

I have error 'no password supplied' when switched to Postgres #427

@pmatsinopoulos

Description

@pmatsinopoulos

I just moved from MySQL to Postgres.

Now I am getting the following error:

PG::ConnectionBad: fe_sendauth: no password supplied

Can you please help me?

My shippable.yml file is:

# language setting
language: ruby

# version numbers
rvm: 2.1.1

before_script:
  - mkdir -p shippable/testresults
  - psql -c 'create database "newleveltherapy_test";' -U postgres
  - rake db:migrate RAILS_ENV=test

env:
  - CI_REPORTS=shippable/testresults COVERAGE_REPORTS=shippable/codecoverage

script:
  - rspec -f RspecJunitFormatter -o shippable/testresults/results.xml

Where should I apply / give the password?

What value should the password have?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions