Copy link to clipboard
Copied
Hello;
When I try to make a Db connection to mysql in DW CS4,using connections,the +-button and fill in the pop up,I am getting the following message:
"a not-identified error has occurred".
The database name,password and all the other information is ok.So I really do not know what is happening.
Is there someone there who has an answer for this problem??
many thanks for the help!
Copy link to clipboard
Copied
An unidentified error means that Dreamweaver can't connect to the database, but cannot identify what's causing the problem. Often, it's caused by a software firewall preventing communication between Dreamweaver and the database, so try turning off your security program temporarily to see if that solves the problem. If it does, you need to reconfigure the security program.
If it still doesn't work, check that the database server is running. Also make sure that your testing server definition is correct. The testing server folder and the URL prefix should point to the same location: the first is the physical path to the site root, and the second is the URL you use to get to the site root.
Copy link to clipboard
Copied
Hi,thanks for your answer;
I have turned off my firewall,but still no result.
Then I have checked and double checked the site defintion.Here's what I have done:
The testing serverfolder is:http://www.checksite.eu:2222/public_html
The URL prefix is:http://www.checksite.eu:2222/public_html
When I leave out the 2222,Dreamweaver can't make a connection to the server.
When I go to the basic site definition and test the URL,DW is able to make the connection,but only to the server and not to the database.(I have been uploading to the server for some weeks now,with no problem at all).
I have also contacted my host and they say de database is running.
All the testing I do in site definition says everything is ok.
I really do not know what's wrong now
Copy link to clipboard
Copied
Igorbuitendijk wrote:
The testing serverfolder is:http://www.checksite.eu:2222/public_htmlThe URL prefix is:http://www.checksite.eu:2222/public_html
When I leave out the 2222,Dreamweaver can't make a connection to the server.
I don't know about the use of port 2222, but your testing server definition is completely wrong.
The testing server folder must be a physical path, not a URL. And the URL prefix must be a valid URL. public_html is the name of the web server's document root, it should never be part of a URL.
Judging from the details you have given here, you are using your remote server for testing. In the Testing server section of the site definition, set Access to FTP. The value of Host directory should be what your hosting company tells you to use when logging in. For some hosting companies, you use public_html on its own. Other companies tell you to leave the value blank or to use just /.
The URL prefix is just the URL for the site.
Copy link to clipboard
Copied
Hello:
the www.checksite.eu:2222/ is for entering Direct Admin from where I can manage my site with phpmyadmin,the database and all the files.By using that URL, Dreamweaver got entrance for uploading I thought.
I will try some other things to get serverconnection.
Really many thanks for your help and I will keep you informed of my progress!
Copy link to clipboard
Copied
Hello mr Powers:
I have followed your advise and changed my settings.Everything is working well now!!
I want to thank you so much for your great help!
Greetings from the Netherlands