He said he already setup a db.
Make sure that you also setup a hostname for your db. So it will be like this
db name: example
Just setup your hostname in the same place that you setup your db username. It will be in subdomain form.