a. "Connection name: anyname" (without spcae or special characters)
b. "MySQL server: localhost" (since MySQL and PHP are on same server)
c. "User name: MySQL_username" (the one you wish to use with the adequate privilages)
d. "Password: password" (for the aboe uer.)
e. "Database: database" (the one you wish to use. You can click SELECT to display the databases list.)
f. Click TEST.
g.If it is successfully then click OK.
Notes:
You may get a long error message about "no testing server or that testing serer doesn't map..."
Check the WEB browsers (FireFox, IE, etc.), if there is any special manual configuration for FireWall.
All communication between Dreamweaverand MySQL is conducted by two files, MMHTTPDB.php and mysql.php, located in a hidden folder called _mmServerScripts.
Dreamweaver automatically creates the hidden folder and files in the site root of your testing server and uploads everything to your remote server if necessary.