# DB authentication

**URL:** <https://forum.inductiveautomation.com/t/db-authentication/8394>\
**Category:** Ignition\
**Created:** [April 30, 2014, 9:49am UTC](https://forum.inductiveautomation.com/t/db-authentication/8394 "2014-04-30T09:49:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![HALW80](https://avatars.discourse-cdn.com/v4/letter/h/47e85d/32.png) [@HALW80](https://forum.inductiveautomation.com/u/HALW80)\
**Post date:** [April 30, 2014, 9:49am UTC](https://forum.inductiveautomation.com/t/db-authentication/8394/1 "2014-04-30T09:49:23Z")

</div>

I have a database authentication for the user/roles  
Every now and again the users can’t log on  
When I go to check authentication profile it is still there with no users/roles  
I deleted it and add a new database profile with the same name and connected to the same database and all users and roles return with out having to type them in again.  
Any idea why this happens?  
Using Ignition 7.6.4

---

<div class="post-metadata">

**Author:** ![HALW80](https://avatars.discourse-cdn.com/v4/letter/h/47e85d/32.png) [@HALW80](https://forum.inductiveautomation.com/u/HALW80)\
**Post date:** [May 12, 2014, 12:08pm UTC](https://forum.inductiveautomation.com/t/db-authentication/8394/2 "2014-05-12T12:08:08Z")

</div>

yet again this has happen for no apparant reason.  
Client can’t log in - authentication profile it is still there with no users/roles  
I delete the authectication profile, add another, same name and connect to same database and all users are now there again without typing all the username and passwords

---

<div class="post-metadata">

**Author:** ![james.hunt](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@james.hunt](https://forum.inductiveautomation.com/u/james.hunt)\
**Post date:** [May 12, 2014, 8:45pm UTC](https://forum.inductiveautomation.com/t/db-authentication/8394/3 "2014-05-12T20:45:51Z")

</div>

Would you be able to export the gateway console logs and attach to this post? From what you have described there seems to be an error with the database connection. I wouldn’t know for sure until I took a look at the gateway console logs.

---

<div class="post-metadata">

**Author:** ![HALW80](https://avatars.discourse-cdn.com/v4/letter/h/47e85d/32.png) [@HALW80](https://forum.inductiveautomation.com/u/HALW80)\
**Post date:** [May 14, 2014, 8:30am UTC](https://forum.inductiveautomation.com/t/db-authentication/8394/4 "2014-05-14T08:30:10Z")

</div>

Please find attached

---

<div class="post-metadata">

**Author:** ![HALW80](https://avatars.discourse-cdn.com/v4/letter/h/47e85d/32.png) [@HALW80](https://forum.inductiveautomation.com/u/HALW80)\
**Post date:** [June 4, 2014, 8:03am UTC](https://forum.inductiveautomation.com/t/db-authentication/8394/5 "2014-06-04T08:03:42Z")

</div>

This has worked ok for the last 3 weeks and has now failed again. it is becoming a serious issue for our client.  
attached a screen shot of the authenication profile
