# Passing MYSQL or INFLUXDB Configurations to Docker or to Another Node Red

**URL:** https://discourse.nodered.org/t/passing-mysql-or-influxdb-configurations-to-docker-or-to-another-node-red/57982
**Category:** General
**Tags:** docker
**Created:** [8 February 2022 12:29 UTC](https://discourse.nodered.org/t/passing-mysql-or-influxdb-configurations-to-docker-or-to-another-node-red/57982 "2022-02-08T12:29:20Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sndkonstantin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sndkonstantin/32/55747_2.png) [@sndkonstantin](https://discourse.nodered.org/u/sndkonstantin)
#### Post date: [8 February 2022 12:29 UTC](https://discourse.nodered.org/t/passing-mysql-or-influxdb-configurations-to-docker-or-to-another-node-red/57982/1 "2022-02-08T12:29:20Z")

</div>

Hello ! I am trying to make my Node Red backend server to be a part of Docker-based Testing Environment. So I decided to pass ${ENIRONMENTAL\_VARIABLES} to the confings of MySQL node and INFLUX\_DB nodes. It actually worked, but I have crutial fields such as user and password (for MySql Node) deleted in my Docker Node-Red version. The same happend to the token and organization field in the stackhero-Influxdb node configuration. I noticed that copiyng the MySql node and pasting to another installation of Node-Red also deletes user and password. I wonder if there is a way to pass ENVS to configurations of copied nodes ?  
Original Node conf

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/e/ce113e292a8106e4de1e72d0632660d91affcf77.png)  
Copied Node conf  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/0/d0b8bae6a68537e928045e37c4405c35ab032291.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: [9 April 2022 12:30 UTC](https://discourse.nodered.org/t/passing-mysql-or-influxdb-configurations-to-docker-or-to-another-node-red/57982/2 "2022-04-09T12:30:19Z")

</div>

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