# Node red value to mysql

**URL:** <https://discourse.nodered.org/t/node-red-value-to-mysql/26904>\
**Category:** General\
**Created:** [19 May 2020 09:40 UTC](https://discourse.nodered.org/t/node-red-value-to-mysql/26904 "2020-05-19T09:40:09Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [20 May 2020 06:52 UTC](https://discourse.nodered.org/t/node-red-value-to-mysql/26904/6 "2020-05-20T06:52:34Z")

</div>

Excellent info.

Firstly though, in order to make code more readable and importable it is important to post it between two sets of three backticks - ``` - see this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

Secondly, you don't have debug before the function. It is impossible to see what is going on to your function.

And again, your flow export is only the function. When exporting, select all nodes you wish to export before opening the export dialog.

Lastly, my suspicion was correct...

> [@Steve-Mcl](#):
>
> i have my suspicion that the values come from separate nodes & you'll need a join

Watch [this 4m video](https://youtu.be/t8T-JMnQHMk) to understand what I mean.

---

_[View the full topic](https://discourse.nodered.org/t/node-red-value-to-mysql/26904)._
