[opencms-dev] could no connect to database via:jdbc:mysql://localhost:3306/

Frederico Luis Cabral frluca at compuland.com.br
Tue Oct 5 22:05:57 CEST 2004


Hi all.

Thanks a lot for your help. I solved the problem .... I was
using MySQL 4.1.5 and OpenCms requires 4.0.x or 5.0. It 
was a stupid mistake of mine, because the Documentation says it
clearly and I didnĀ“t see ... 

Regards everyone and thanks again.
Fred


> Try this:
> 
> 1) open a cmd window on your server
> 2) type "telnet localhost 3306"
> 
> If you get a "connection refused" then mysql isn't listening on port 
> 3306. Possible explanations could be that mysql isn't running, that 
> it isn't set up to listen over the network, or that it's listening 
> on a different port. See if you can connect with the WinMysql 
> Command Center.
> 
> If you have a local firewall running (BlackIce Defender, etc) try 
> turning it off while testing - they can mess with your local 
> networking something fierce.
> 
> HTH,
> 
> Tim




More information about the opencms-dev mailing list