View Full Version : Dreamweaver database connection

06-27-2008, 01:42 AM
Hey there! Im creating a page using PHP. i cant seem to to connect it to a database. i named the MySQL Connection accordingly. However, when im about to select the database, it promt me that error below.

i dont know what's the problem. i named the page "index.php". im using phpmyAdmin. my server is the "wampserver".

it prompt me the following error. it says that it's got:

My SQL error# : 2005
Unknown MySQLserver host 'localhost' (11001)'

06-27-2008, 02:18 AM
make a php page with this


upload to your server then call up the page in your browser, this will tell you if your server is working

06-27-2008, 02:32 AM
thanks for replying. i tried what u suggested there. now the error promt me this:

MySQL error# : 1045
Access denied for user root@localhost (using password: YES)

what i entered for the fields ar these.

Connection name: MyConnection
MySQL Server: localhost
Database: __________ (select button)

when i click the select button there, a pop up box appered and showed me the error. im not sure what to do. whether the problem lies on my dreamweaver page or my phpmyadmin or something else.

sorry if it's a noob question.

06-27-2008, 03:05 AM
watch my VTM on this site and you should get moving right along


06-27-2008, 03:50 AM
hey neonfluxx! thanks! ur VTM was really useful. it did solve my problem. thanks again. it got me goin and now i can continue my work.
thanks. =)

06-27-2008, 05:39 AM
Your very welcome. I thought that would do it for you and let you get down to business. Good Luck