Giter VIP home page Giter VIP logo

Comments (3)

linovate avatar linovate commented on May 14, 2024

FYI, I try to go through the tutorial again, using Phoenix 1.4.4, I got following error at step 6 (upon running mix ecto.create):

05:56:11.202 [error] GenServer #PID<0.344.0> terminating
** (Postgrex.Error) FATAL 28P01 (invalid_password) password authentication failed for user "postgres"
(db_connection) lib/db_connection/connection.ex:87: DBConnection.Connection.connect/2
(connection) lib/connection.ex:622: Connection.enter_connect/5
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: nil
State: Postgrex.Protocol
** (Mix) The database for Chat.Repo couldn't be created: killed

from phoenix-chat-example.

nelsonic avatar nelsonic commented on May 14, 2024

@linovate thanks for opening this issue. it's always good to know that people find it. πŸ‘
It appears as though your Phoenix App is not able to connect to the Postgres database.
Can you please confirm:

  • What operating system you are using?
  • Did you change the default password for your Postgres?

If Phoenix is unable to connect to Postgres then the mix ecto.create and mix ecto.migrate won't work.

from phoenix-chat-example.

nelsonic avatar nelsonic commented on May 14, 2024

No response from OP. Presume that they figured out how to run the app after updating their config.
Closing.

from phoenix-chat-example.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.