Skip to main content
Inspiring
February 1, 2007
Answered

MySql Connection Problem

  • February 1, 2007
  • 1 reply
  • 628 views
Hi there,
*I have used xampp to sucessfully install apache,php and mysql.
*I have set up my testing server with Dreamweaver 8.
*I have hand coded a database connection using Dreamweaver 8 as my text editor.
*When I F12 preview, I get a sucessful output...

BUT (AAAAAAAAAAAAAAARGH!)

*When I try to connect via Dreamweaver 8 > Application Panel > Databases > MySql Connection using localhost, it says:

"1)There is no testing server running on the server machine.
2)The testing server specified for this site does not map to the http://localhost/myRoot/_mmServerScripts/MMHTTPDB.php URL. Verify that the URL Prefix maps to the root of the site."

Can anyone shed any light on this please, as I am losing my finger-nail grip on reality by now - cheers
Iwan
This topic has been closed for replies.
Correct answer iwantheman
Thanks mate, but I did search the groups and found lots of answers like yours that miss the point.

Thanks for your efforts, but I discovered the real reason for the problem myself - it's the firewall - simple as that and nothing to do with site definitions, testing servers or indeed Dreamweaver itself.
cheers

1 reply

Inspiring
February 1, 2007
iwantheman wrote:
> "1)There is no testing server running on the server machine.
> 2)The testing server specified for this site does not map to the
> http://localhost/myRoot/_mmServerScripts/MMHTTPDB.php URL. Verify that the URL
> Prefix maps to the root of the site."

One way to restore your grip on reality is to search Googlegroups for
one of the zillions of times exactly the same question has been asked
and answered in this forum.

In your site definition, the testing server folder and URL prefix must
point to the same location. In other words, the XAMPP server root and
http://localhost/ should point to the same folder. I don't use XAMPP,
but my Apache DocumentRoot is C:\htdocs. If I create a site in
C:\htdocs\mysite\, the values in the site definition are as follows:

Testing server folder: C:\htdocs\mysite\
URL prefix: http://localhost/mysite/

That's all there is to it.

--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
iwanthemanAuthorCorrect answer
Inspiring
February 2, 2007
Thanks mate, but I did search the groups and found lots of answers like yours that miss the point.

Thanks for your efforts, but I discovered the real reason for the problem myself - it's the firewall - simple as that and nothing to do with site definitions, testing servers or indeed Dreamweaver itself.
cheers