# Database Connection Error

**URL:** <https://forum.inductiveautomation.com/t/database-connection-error/46336>\
**Category:** Ignition\
**Created:** [May 4, 2021, 6:52pm UTC](https://forum.inductiveautomation.com/t/database-connection-error/46336 "2021-05-04T18:52:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdelgado](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@jdelgado](https://forum.inductiveautomation.com/u/jdelgado)\
**Post date:** [May 4, 2021, 6:52pm UTC](https://forum.inductiveautomation.com/t/database-connection-error/46336/1 "2021-05-04T18:52:06Z")

</div>

Hi, I have an application that has been running for a few years and the customer call me today to let me know they stop collecting data. I check the database connection and I have an error. With the following msg:

Cannot create PoolableConnectionFactory (The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: “No appropriate protocol (protocol is disabled or cipher suites are inappropriate)”.)

Any ideas nothing has change on the app, not sure if anything change on the computer other applications have access to the SQL Server

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 4, 2021, 6:54pm UTC](https://forum.inductiveautomation.com/t/database-connection-error/46336/2 "2021-05-04T18:54:07Z")

</div>

What version of Ignition is it?

If it’s 7.9 or older then my first guess about what changed would be that a Java update on the server happened.

---

<div class="post-metadata">

**Author:** ![jdelgado](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@jdelgado](https://forum.inductiveautomation.com/u/jdelgado)\
**Post date:** [May 4, 2021, 6:55pm UTC](https://forum.inductiveautomation.com/t/database-connection-error/46336/3 "2021-05-04T18:55:00Z")

</div>

Yes version 7.9.17

---

<div class="post-metadata">

**Author:** ![jdelgado](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@jdelgado](https://forum.inductiveautomation.com/u/jdelgado)\
**Post date:** [May 4, 2021, 8:43pm UTC](https://forum.inductiveautomation.com/t/database-connection-error/46336/4 "2021-05-04T20:43:17Z")

</div>

I uninstalled the java and installed the java version that was originally installed with the system and made sure the java version did not auto update.

Thanks

---

<div class="post-metadata">

**Author:** ![jfan](https://avatars.discourse-cdn.com/v4/letter/j/e8c25b/32.png) [@jfan](https://forum.inductiveautomation.com/u/jfan)\
**Post date:** [June 10, 2021, 12:50pm UTC](https://forum.inductiveautomation.com/t/database-connection-error/46336/5 "2021-06-10T12:50:52Z")

</div>

Would an automatic java update occur in Linux?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 10, 2021, 12:55pm UTC](https://forum.inductiveautomation.com/t/database-connection-error/46336/6 "2021-06-10T12:55:52Z")

</div>

It could as part of an OS update.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 10, 2021, 4:59pm UTC](https://forum.inductiveautomation.com/t/database-connection-error/46336/7 "2021-06-10T16:59:46Z")

</div>

See this topic, and especially the part about disabled protocols in java.security.

> [@SQL Server Connection Faulted](http://forum.inductiveautomation.com/t/sql-server-connection-faulted/46393):
>
> After replacing a development installation of Ignition 8.1 with 7.9.17, I am suddenly unable to communicate with my local SQL server. The connection was fine before the reinstall but now it’s faulted and showing this error: Cannot create PoolableConnectionFactory (The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: “No appropriate protocol (protocol is disabled or cipher suites are inappropriate)”.) I’ve double checked all t…

(You really shouldn't hold back a java update, though I don't generally allow them to apply _automatically._)
