DMXzone Database Connector PHP Support Product Page

In progress

Error trying to connect to local DB

Reported 11 years ago
1
has this problem
11 years ago Brad Lawryk posted:
Trying to set up my laptop to do some experimenting with the extensions. I can connect no problem to the database using Navicat but not through the extension in Dreamweaver.

Error using this Database Connection!
Server Response : SQLSTATE[HY000] [2002] Connection refused

Not sure what this means? Everything is set up exactly like on my work computer. Using Mamp Pro ......

Replies

Replied 11 years ago
11 years ago George Petrov replied:
Try using 127.0.0.1 as ip address for your database server.

See stackoverflow.com/questions/1435445/error-on-creating-connection-to-pdo-in-php

Greetings,
George
Replied 11 years ago
11 years ago Brad Lawryk replied:
Yeah I tried that as well. Gotta be something on this computer. I set up a database on my 1and1 host and it connects fine there as well as the private server that my main project is on. So gotta be this laptop.

Reply to this topic