My configuration not connecting
Posted by: Rob (---.sc.res.rr.com)
Date: March 16, 2007 06:55AM

Hello,

I have Wamp setup on my computer to test some database work I am doing.

I have been able to connect to databases on my hosting service but need to do some local testing.

Through many post on WAMP forum I have had no luck in finding out why I can not connect to my server though Dreamweaver to my database.

I follow all the instructions I think but I must be missing something.

Config:
I do have Mcfee (bummer I know) with firewall but it says it give full access to WAMP. I have even disabled it and tried.

I do not have Skype or IIS running or installed.
I only have apache installed once as far as I can tell.
I have password and name "root" setup.
I have databases built in my www folder.
All services are running in WAMP.
I try to connect though the normal Dreamweaver way. >>Applications >>Databases>>My SQL Connection>>
I input:
Connection name: DBCart
MySQL Server: localhost
Username: root
Password: mypassword
Hit the select button and get:
1)There is no testing server running
2) The testing server specified for this site does not map to
[localhost] URL.
Verify that the URL Prefix maps to the root of the site.

I have site set up :
Local root folder; C:\Program_Files\wamp\www\dynamicEcart\Starting_Points\
Images; C:\Program_Files\wamp\www\dynamicEcart\Starting_Points\images\
HTTP address: [localhost] ALSO tried leaving this just at local host no luck

Testing Server;
Server Model; PHP Mysql
Access; local
Testing Server Folder: C:\Program_Files\wamp\www\dynamicEcart\Starting_Points\
URL Prefix; [localhost]

PHPMyAdmin info:
User: root
Host : localhost
Password :Yes
Global privileges : ALL PRIVILEGES
Grant : Yes



Please please please somebody walk me through this.
I have been trying for days.
I need to test my shopping cart.

I have even tried on my laptop with wamp and Dreamweaver and can not connect.

It must just be something simple I am missing.

Options: ReplyQuote
Re: My configuration not connecting
Posted by: CyberSpatium (71.237.217.---)
Date: March 16, 2007 11:27AM

-post this question in the support area for dreamweaver.




CyberSpatium
----------------------
WAMP English Forum Admin

Please visit my latest website Clarify Loans:
ClarifyLoans.com

Options: ReplyQuote
Re: My configuration not connecting
Posted by: Rob (---.sc.res.rr.com)
Date: March 16, 2007 09:00PM

Ah Ha,

I figured it out.

I checked the Apache error log and saw that it was looking for _mmServerScripts.

The file for my site was to deep in the www directory (to many sub files). I moved it up so that apache could find the _mmServerScripts and bingo I am golden.

I hope this helps anyone who runs into a similar problem.

Options: ReplyQuote
Re: My configuration not connecting
Posted by: chinthana (194.80.66.---)
Date: April 06, 2007 05:35PM

Hi Rob,

Can please tell me where did you move the files to?

Options: ReplyQuote
Re: My configuration not connecting
Posted by: Rob (---.sc.res.rr.com)
Date: April 07, 2007 04:12PM

Yeah,

I have the files in the www. file that is installed with the wamp.
The problem I had was the scripts where buried.
Like this:
C:\ProgramFiles\wamp\www\dynamicEcart\Starting_Points
what i did was just take the starting point file and move it up in the file structure so it ended up like this:
C:\ProgramFiles\wamp\www\Starting_Points

Let me know if you do not understand and i will try to help more as i know how frustrating it is.

Options: ReplyQuote
Re: My configuration not connecting
Posted by: Swerve (---.dynamic.dsl.as9105.com)
Date: May 06, 2007 03:51PM

Gee ,thanks

Anyone trying a php/mysql script, with the correct connection settings

$db_host='localhost';
$db_user='root';
$db_pass='';
$db_name='databasename';

Tried index page for this script high up in the 'www' folder (and the site).)

Just fails to connect to the database

Options: ReplyQuote


Sorry, only registered users may post in this forum.