title: I'm getting Error establishing a database connection after deploying the site on git and heroku
body: <p>I'm new to wordpress. I'm using heroku for hosting. I have deployed the wordpress site but after I enter the command &quot;heroku create&quot; the  Error establishing a database connection window appears instead of the wordpress starting window.</p>
  <p><a href="https://i.stack.imgur.com/UI1Eg.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UI1Eg.jpg" alt="enter image description here" /></a></p>
  <p>I want to host the wordpress site and then migrate the locally created site to the hosted site using the all-in-one plugin.</p>