# Database pen issue

**URL:** <https://forum.inductiveautomation.com/t/database-pen-issue/17733>\
**Category:** Ignition\
**Created:** [April 16, 2018, 9:32pm UTC](https://forum.inductiveautomation.com/t/database-pen-issue/17733 "2018-04-16T21:32:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ruica.cristina](https://avatars.discourse-cdn.com/v4/letter/r/898d66/32.png) [@ruica.cristina](https://forum.inductiveautomation.com/u/ruica.cristina)\
**Post date:** [April 16, 2018, 9:32pm UTC](https://forum.inductiveautomation.com/t/database-pen-issue/17733/1 "2018-04-16T21:32:20Z")

</div>

I have a problem with a database pen. When i use it to view the history of a column from a table, it is ok in designer. but after save and publish, when i log in to the user app, the values aren’t accessible. any help?

---

<div class="post-metadata">

**Author:** ![Sanderd17](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sanderd17/32/8735_2.png) [@Sanderd17](https://forum.inductiveautomation.com/u/Sanderd17)\
**Post date:** [April 17, 2018, 7:44am UTC](https://forum.inductiveautomation.com/t/database-pen-issue/17733/2 "2018-04-17T07:44:51Z")

</div>

Can this be related to the new database security?

In the newer versions, you need to enable “legacy database access” if you want to run queries from the client. Though that permission shouldn’t block simple historian reads IMO…
