"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:
http://www.webassist.com/tutorials/Define-a-dynamic-site-in-CS5
this tutorial has details on creating the connection:
http://www.webassist.com/tutorials/Create-a-PHP-database-connection