"I'm running a database on a different server (this is testing server too) to the host server - is this a problem?"
Probably, most likely the MySQL server is not allowing the outside connection. you should double check with the MySQL Server admin.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.