Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Database Connection - Wamp Server

New Here ,
Jan 04, 2009 Jan 04, 2009
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
TOPICS
Server side applications
2.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 04, 2009 Jan 04, 2009
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
>
>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 04, 2009 Jan 04, 2009
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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 04, 2009 Jan 04, 2009
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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 04, 2009 Jan 04, 2009
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
>
>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 05, 2009 Jan 05, 2009
LATEST
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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines