# Can't connect to DB in server project

**URL:** <https://forum.cloverdx.com/t/cant-connect-to-db-in-server-project/609>\
**Category:** CloverDX Platform\
**Created:** [October 13, 2009, 12:00am UTC](https://forum.cloverdx.com/t/cant-connect-to-db-in-server-project/609 "2009-10-13T00:00:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ciscochi](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@ciscochi](https://forum.cloverdx.com/u/ciscochi)\
**Post date:** [October 13, 2009, 12:00am UTC](https://forum.cloverdx.com/t/cant-connect-to-db-in-server-project/609/1 "2009-10-13T00:00:00Z")

</div>

Hi,  
I am testing a server project configuration, and have not been able to create a valid database connection through Designer. If I try to execute through the server scheduling tool, then it runs the database dependent components, which is evident from the logging, however, I can’t get this to work from Eclipse. The error I’m getting when I try to validate the connection is:  
2009-10-12 17:07:53,640 ERROR 950275 [WatchDog] Phase initialization failed with reason: DB\_EXECUTE0 …FAILED !  
Reason: org.jetel.exception.JetelException: Cannot establish DB connection (cmsg\_dw). caused by: org.jetel.exception.JetelException: Can’t connect to DB. caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

Last packet sent to the server was 0 ms ago.

---

<div class="post-metadata">

**Author:** ![jurban](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jurban](https://forum.cloverdx.com/u/jurban)\
**Post date:** [October 13, 2009, 7:53am UTC](https://forum.cloverdx.com/t/cant-connect-to-db-in-server-project/609/2 "2009-10-13T07:53:24Z")

</div>

Hi,  
this looks like you’re not able to connect from your computer to the DB server. DB validation is currently performed from your client computer (running the Designer). You network can be configured so that the server can connect to the DB (i.e. the graphs will run OK) but your client computer cannot.

Jaro

---

<div class="post-metadata">

**Author:** ![ciscochi](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@ciscochi](https://forum.cloverdx.com/u/ciscochi)\
**Post date:** [October 13, 2009, 5:15pm UTC](https://forum.cloverdx.com/t/cant-connect-to-db-in-server-project/609/3 "2009-10-13T17:15:46Z")

</div>

I think this was my fault. The db I was trying to connect to seemed to be down. I restarted it, and I was able to connect.

Thanks.
