# Durable and reliable contextStorage - DB/mysql/mariadb based

**URL:** <https://discourse.nodered.org/t/durable-and-reliable-contextstorage-db-mysql-mariadb-based/95085>\
**Category:** General\
**Created:** [3 February 2025 12:31 UTC](https://discourse.nodered.org/t/durable-and-reliable-contextstorage-db-mysql-mariadb-based/95085 "2025-02-03T12:31:54Z")\
**Posts on this page:** 1\
**Showing post:** 42

<div class="post-metadata">

**Author:** ![jakonnode](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@jakonnode](https://discourse.nodered.org/u/jakonnode)\
**Post date:** [6 February 2025 14:27 UTC](https://discourse.nodered.org/t/durable-and-reliable-contextstorage-db-mysql-mariadb-based/95085/42 "2025-02-06T14:27:27Z")

</div>

FYI! I am running into a very basic issue with Redis. ☹

Created a ticket separately to avoid cluttering with a different discussion in this...

> [@Global.get fails while using contextStorage(redis)](https://discourse.nodered.org/t/global-get-fails-while-using-contextstorage-redis/95183):
>
> While using redis contextStorage as default and use global.get() it results in an error as below. "Error: Callback must be a function" Using the below redis package. [GitHub - node-red/node-red-context-redis: A Node-RED Context store plugin backed by Redis](https://github.com/node-red/node-red-context-redis) global.set() goes through and my redis-cli has stored the value too that I can query and check. This doesn't happen with default being filesystem (and obviously memory) I cannot make redis context as default. I would like both durability …

---

_[View the full topic](https://discourse.nodered.org/t/durable-and-reliable-contextstorage-db-mysql-mariadb-based/95085)._
