I am following this tutorial and I noticed that when I run mix ecto.create I get an error. This has happened last time too. My solution to fix it is by going into a new terminal opening PSQL and creating the database manually. If I do run the command I get a Gen Server Error. Does anyone know why the command is not working for me?
This command will create the DB as configured on the environment you’re running it from. If you’re in dev environment as I suppose, take a look at config/dev.exs, it contains this for a recently generated Phoenix 1.6 app but you should change it to your DB setup: