"but my Database connections still don't work."
Please provide more details. In what way do the connections not work?
Are you getting an error message? if so what is the error?
Most Database connection issues are a result of the site not being defined properly, this tutorial has details on defining the site:
this tutorial has details on creating the connection: