PG::ConnectionBad FATAL: role “Myname” does not exist

后端 未结 7 1388
旧巷少年郎
旧巷少年郎 2020-12-13 10:03

I am trying to use PostgreSQL so that I can deploy to Heroku. However I cannot run localhost anymore why? I get the following message:

PG::ConnectionBad
FATA         


        
7条回答
  •  醉酒成梦
    2020-12-13 10:27

    I had to go into my PG admin dashboard and create a db/user there. Unfrotunately it was in a subdirectory different from what the tutorials online said(probably updated directory destination last update). Fortunately I was able to find it and create the table/user there, update my database.yml file and then my app was able to work!

提交回复
热议问题