0
Database Connection - Wamp Server
New Here
,
/t5/dreamweaver-discussions/database-connection-wamp-server/td-p/131931
Jan 04, 2009
Jan 04, 2009
Copy link to clipboard
Copied
Hi - just wondered if anyone can help.
I have Dreamweaver MX (6.1) and Wamp Server (V2) installed on my PC ( Apache 2.2.6, PHP 5.2.5, mySQL 5.0.45).
For some reason I can't get a database connection to work between Dreamweaver and the database I have created on the local server. The server works fine with apps outside of dreamweaver so I'm pretty confident about the server setup. I thinks the problem lies with DW!
Has anyone managed to get this working? If so, what the hell am I doing wrong?
thanks
YY
I have Dreamweaver MX (6.1) and Wamp Server (V2) installed on my PC ( Apache 2.2.6, PHP 5.2.5, mySQL 5.0.45).
For some reason I can't get a database connection to work between Dreamweaver and the database I have created on the local server. The server works fine with apps outside of dreamweaver so I'm pretty confident about the server setup. I thinks the problem lies with DW!
Has anyone managed to get this working? If so, what the hell am I doing wrong?
thanks
YY

TOPICS
Server side applications
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/dreamweaver-discussions/database-connection-wamp-server/m-p/131932#M192303
Jan 04, 2009
Jan 04, 2009
Copy link to clipboard
Copied
What do you see when you browse to
http://localhost?
How are you interacting with the local database? Are you using the MySQL
client?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================
"yydelilah" <webforumsuser@macromedia.com> wrote in message
news:gjqm39$8dr$1@forums.macromedia.com...
> Hi - just wondered if anyone can help.
> I have Dreamweaver MX (6.1) and Wamp Server (V2) installed on my PC (
> Apache
> 2.2.6, PHP 5.2.5, mySQL 5.0.45).
> For some reason I can't get a database connection to work between
> Dreamweaver
> and the database I have created on the local server. The server works fine
> with
> apps outside of dreamweaver so I'm pretty confident about the server
> setup. I
> thinks the problem lies with DW!
> Has anyone managed to get this working? If so, what the hell am I doing
> wrong?
> thanks
> YY
>
>
How are you interacting with the local database? Are you using the MySQL
client?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================
"yydelilah" <webforumsuser@macromedia.com> wrote in message
news:gjqm39$8dr$1@forums.macromedia.com...
> Hi - just wondered if anyone can help.
> I have Dreamweaver MX (6.1) and Wamp Server (V2) installed on my PC (
> Apache
> 2.2.6, PHP 5.2.5, mySQL 5.0.45).
> For some reason I can't get a database connection to work between
> Dreamweaver
> and the database I have created on the local server. The server works fine
> with
> apps outside of dreamweaver so I'm pretty confident about the server
> setup. I
> thinks the problem lies with DW!
> Has anyone managed to get this working? If so, what the hell am I doing
> wrong?
> thanks
> YY
>

>
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
yydelilah
AUTHOR
New Here
,
/t5/dreamweaver-discussions/database-connection-wamp-server/m-p/131934#M192305
Jan 04, 2009
Jan 04, 2009
Copy link to clipboard
Copied
Hi - the website application I'm trying to get working is the
DW tutorial and it's only half finished and doesn't have a
"index.php" file. It's in the
http://localhost/tutorial
folder and just comes up with an "Index of /tutorial" showing a
list of files/folders.
Yep - when I defined the (local) test server for the site I chose Server Model: PHP mySQL; Access : local network;
Testing Server Folder: C:\Program Files\wamp\www\Tutorial\; URL Prefix: http://localhost/tutorial/
YY
Yep - when I defined the (local) test server for the site I chose Server Model: PHP mySQL; Access : local network;
Testing Server Folder: C:\Program Files\wamp\www\Tutorial\; URL Prefix: http://localhost/tutorial/
YY
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
yydelilah
AUTHOR
New Here
,
/t5/dreamweaver-discussions/database-connection-wamp-server/m-p/131933#M192304
Jan 04, 2009
Jan 04, 2009
Copy link to clipboard
Copied
Oh! I forgot - when I try and define a DB connection in
Dreamweaver, I get an DW error message back saying "an undefined
error has occurred" - really helpful!
There is a file in the local site "Connections" folder called "connGlobal.php" that seems to have all the right parameters defined, and there is a folder in the Wamp server root directory ("C:\Program Files\wamp\www\Tutorial") called "mmServerScripts" which has 2 PHP files called (mysql & MMHTTPDB).
YY
There is a file in the local site "Connections" folder called "connGlobal.php" that seems to have all the right parameters defined, and there is a folder in the Wamp server root directory ("C:\Program Files\wamp\www\Tutorial") called "mmServerScripts" which has 2 PHP files called (mysql & MMHTTPDB).
YY
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/dreamweaver-discussions/database-connection-wamp-server/m-p/131935#M192306
Jan 04, 2009
Jan 04, 2009
Copy link to clipboard
Copied
Hi yydelilah:
If you are working on Windows:
Can you check that you haven't either IE or Outlook Express set to work in
offline mode?
--
Andres Cayon
Spain Adobe Dreamweaver User Group
http://www.dwug.es
----------------------
"yydelilah" <webforumsuser@macromedia.com> escribió en el mensaje de
noticias news:gjqof0$ba3$1@forums.macromedia.com...
> Oh! I forgot - when I try and define a DB connection in Dreamweaver, I get
> an
> DW error message back saying "an undefined error has occurred" - really
> helpful!
> There is a file in the local site "Connections" folder called
> "connGlobal.php"
> that seems to have all the right parameters defined, and there is a folder
> in
> the Wamp server root directory ("C:\Program Files\wamp\www\Tutorial")
> called
> "mmServerScripts" which has 2 PHP files called (mysql & MMHTTPDB).
>
> YY
>
>
If you are working on Windows:
Can you check that you haven't either IE or Outlook Express set to work in
offline mode?
--
Andres Cayon
Spain Adobe Dreamweaver User Group
http://www.dwug.es
----------------------
"yydelilah" <webforumsuser@macromedia.com> escribió en el mensaje de
noticias news:gjqof0$ba3$1@forums.macromedia.com...
> Oh! I forgot - when I try and define a DB connection in Dreamweaver, I get
> an
> DW error message back saying "an undefined error has occurred" - really
> helpful!
> There is a file in the local site "Connections" folder called
> "connGlobal.php"
> that seems to have all the right parameters defined, and there is a folder
> in
> the Wamp server root directory ("C:\Program Files\wamp\www\Tutorial")
> called
> "mmServerScripts" which has 2 PHP files called (mysql & MMHTTPDB).
>
> YY
>
>
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
yydelilah
AUTHOR
New Here
,
LATEST
/t5/dreamweaver-discussions/database-connection-wamp-server/m-p/131936#M192307
Jan 05, 2009
Jan 05, 2009
Copy link to clipboard
Copied
I've finally fixed the problem. It looks like my version of
DW MX (6.1) is NOT compatible with the latest versions of
APACHE/PHP releases. Installed V4 PHP and V2.0 of Apache and now
works OK. I think the problem is linked to a lot of deprecated PHP
code in V5.0
YY
YY
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

