# Problem with environment variables in

**URL:** <https://discourse.nodered.org/t/problem-with-environment-variables-in/36977>\
**Category:** General\
**Created:** [4 December 2020 07:23 UTC](https://discourse.nodered.org/t/problem-with-environment-variables-in/36977 "2020-12-04T07:23:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![splaza](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@splaza](https://discourse.nodered.org/u/splaza)\
**Post date:** [4 December 2020 07:23 UTC](https://discourse.nodered.org/t/problem-with-environment-variables-in/36977/1 "2020-12-04T07:23:13Z")

</div>

Hi everyone,

I am working on a subflow with an output influxdb node. The situation is the following, I generate an environment variable to configure different databases. I deploy and everything works, but if I deploy again, the database disappears.

I have tried something similar with the mqtt node and there is no problem

 ![imagen](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/9/5937406ee0f95d76e7a4b1158b6476f9dca3f027.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [2 February 2021 07:23 UTC](https://discourse.nodered.org/t/problem-with-environment-variables-in/36977/2 "2021-02-02T07:23:21Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
