# Historical tag error (V.8.0.1)

**URL:** <https://forum.inductiveautomation.com/t/historical-tag-error-v-8-0-1/25480>\
**Category:** Ignition Early Access\
**Tags:** ignition80\
**Created:** [June 1, 2019, 3:07am UTC](https://forum.inductiveautomation.com/t/historical-tag-error-v-8-0-1/25480 "2019-06-01T03:07:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Apisit\_Chuencharoen](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@Apisit\_Chuencharoen](https://forum.inductiveautomation.com/u/Apisit_Chuencharoen)\
**Post date:** [June 1, 2019, 3:07am UTC](https://forum.inductiveautomation.com/t/historical-tag-error-v-8-0-1/25480/1 "2019-06-01T03:07:03Z")

</div>

After we upgraded Ignition 7.9.9 to 8.0.1, I found some gateways. It can’t write historical data to database (MySQL8.0), but it can read data in the database. Please help me to solve this problem.

Tag setting in gateway  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/79d90d456d4af1e9ac42c3184d4f4ecc4e84f77c.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/4db74c0a2d96525fc476e6ddd51032c292ef6b2a.png)

Easy chart result

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/a/a8ad9a35d5866ce1d2e9713d9a317b5e63e58616.png)

Store forward status

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/177e2c532b26f3e69ae084cde087f0fceb3ef741.png)

Database connection setting

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/20b6251adf702649bafa427d86a1e15e83dc3244.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/80bcc82e46021ff1da15ed8b9b6e8ee680a72f0a.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/930a26dd600ff59249dc58cd7d7de670eb1f6f84.png)

History tag setting

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/730d3d6137f341c008715068b4d98b9d3ca1aaea.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/c967639aa05a65dcd6ccfdf62f0941bfec0366cd.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/2710b51564006c4152b1fcd1b7313d9d42e0ee02.png)

Thank you,

---

<div class="post-metadata">

**Author:** ![dkylep](https://avatars.discourse-cdn.com/v4/letter/d/6de8d8/32.png) [@dkylep](https://forum.inductiveautomation.com/u/dkylep)\
**Post date:** [June 1, 2019, 12:12pm UTC](https://forum.inductiveautomation.com/t/historical-tag-error-v-8-0-1/25480/2 "2019-06-01T12:12:52Z")

</div>

Does the ‘read only’ tag setting have anything to do with it?

In your mill drive amp tag, under security, the access rights are set to ‘read only’.

I’m not sure if that’s your problem but I saw that and figured I’d point it out.

---

<div class="post-metadata">

**Author:** ![Apisit\_Chuencharoen](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@Apisit\_Chuencharoen](https://forum.inductiveautomation.com/u/Apisit_Chuencharoen)\
**Post date:** [June 1, 2019, 1:15pm UTC](https://forum.inductiveautomation.com/t/historical-tag-error-v-8-0-1/25480/3 "2019-06-01T13:15:13Z")

</div>

Thank you for your help. But my problem is the OPC tag that I read values from the OPC server. It doesn’t store data to database connection that I set. And data of OPC tag struck in store forward feature, then Easy chart can’t see new data in trend.

I set ‘read-only’ in tag security because I don’t want someone to write values back to the OPC server.

---

<div class="post-metadata">

**Author:** ![dkylep](https://avatars.discourse-cdn.com/v4/letter/d/6de8d8/32.png) [@dkylep](https://forum.inductiveautomation.com/u/dkylep)\
**Post date:** [June 5, 2019, 8:30pm UTC](https://forum.inductiveautomation.com/t/historical-tag-error-v-8-0-1/25480/4 "2019-06-05T20:30:37Z")

</div>

I just tried the tag historian and if I set the Max Time Between Samples to 0 it stops saving data to the database. But if I set it to a value greater than the Min Time than it does.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/1b186d456e8094fb15466f99ac22adf8534a259e.png)

The only other things I would try is to restart the Gateway using the command line utility: gwcmd -r  
[https://docs.inductiveautomation.com/display/DOC79/Gateway+Control+Utility](https://docs.inductiveautomation.com/display/DOC79/Gateway+Control+Utility)

Sometimes when you throw stuff at the wall something will stick!
