Setting up DB essential not connecting

I essentialmode setup the only problem I’m getting is its not connecting to my Db abd it was working then all of a sudden stopped