Dreamweaver MySQL Connection Error

Linking Dreamweaver to a Database

Can you help me with a problem that I have been struggling with for the past two weeks?
After installing successfully Windows 7 (x64) and re-installing all Adobe applications, in particular Dreamweaver CS4, I came across the following problem.
After installing WAMPSERVER version 2.0 (PHP version 5.3.0, MySQL version 5.1.36, Apache 2.2.11 version successfully,
I can see my server configuration page at localhost. When I click on phpMyAdmin, I can, without a problem, get into a database that I created through the MySQL console.
THE PROBLEM is with Dreamweaver; I cannot connect to the database I created.
I created a php page but when I click on MySQL connection and add all the needed parameters but it failed to connect to the database.
I have used and designed pages in php within Dreamweaver CS2, CS3 and CS4 but never had this problem before.
If anyone has come across this problem and managed to solve it I would love to hear from you. I am hoping one of you guys knows the answer
Many thanks in advance for you help.
If anyone has come across this problem and managed to solve it I would love to hear from you. I am hoping one of you guys knows the answer
Many thanks in advance for you help.