Technote Details :: Issue when creating a database connection: Can't connect to xxx server on 'hostname'
Issue
When creating a new ADODB database connection, using the PHP_ADODB server model, I get an error message ssaying: Can't connect to xxx server on 'hostname'.
Reason
This happens because Dreamweaver cannot access the database server specified. Possible causes for this are:
The database server 'xxx' which sould be running on the 'hostname' is not running.
The database configuration rejects connections from the testing server.
The server machine 'hostname' on which this xxx database server is running, rejects through a firewall the connections.
Solution
To correct these problems, and be able to connect to the database server, you can do one of the following:
Restart the database server.
Check the user rights to the database to see if the testing server has the rights to connect.
Check your firewall configuration to see if the testing server has the rights to connect to the database port.