error when run mix ecto.create fix by change password and restart postgres as following commands
sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"
sudo /etc/init.d/postgresql restart
Then install this tool https://github.com/rvoicilas/inotify-tools/wiki when rung mix phx.server