Comments (3)
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.
@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 so, did you remember to update it in your
config/dev.exs
file?
- If so, did you remember to update it in your
If Phoenix is unable to connect to Postgres then the mix ecto.create
and mix ecto.migrate
won't work.
from phoenix-chat-example.
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)
- update readme links
- update links
- [CHORE] The walkthrough appears to be outdated (v1.6.14) HOT 3
- [Video Review] Letβs Build a Real Time Chat Application with Elixir and Phoenix HOT 3
- Add `Tailwind CSS` β¨ HOT 12
- Chore: Migrate demo app from Heroku to Fly.io HOT 2
- Chore: Remove `swoosh` from phoenix chat example [not used/needed]
- Bug: `/login` Internal Server Error HOT 7
- Chore: Comprehensively Update this Tutorial to `Phoenix v1.7` HOT 1
- Bug: Auth Not Working! - `Client_id not valid` HOT 10
- UI Bug: Message input field overlaps last message in thread
- Github action "deploy" failed HOT 9
- [Bug] Footer is not sticky to the bottom HOT 1
- "Extension" : channels for Real-time API backend. HOT 1
- Update to Phoenix v1.6 HOT 8
- mix setup fails on node 16.3 HOT 4
- Heroku Build/Start Failing HOT 13
- Order messages by date HOT 3
- Guest messages are not saved in Postgres HOT 2
- Add Dependabot to Update Dependencies
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phoenix-chat-example.