# Error with MYSQL 2 - Status - crash NODE-RED

**URL:** <https://discourse.nodered.org/t/error-with-mysql-2-status-crash-node-red/74224>\
**Category:** General\
**Created:** [26 January 2023 16:27 UTC](https://discourse.nodered.org/t/error-with-mysql-2-status-crash-node-red/74224 "2023-01-26T16:27:24Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [26 January 2023 18:16 UTC](https://discourse.nodered.org/t/error-with-mysql-2-status-crash-node-red/74224/6 "2023-01-26T18:16:33Z")

</div>

You could try it like this instead (suggested [this a couple of days ago](https://discourse.nodered.org/t/psa-setup-tab-in-the-function-node/74044)):

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/3/23acbc4814a771f8ef71df620f0b47c2663915d3.png)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/d/0d85a199defcbc50f26085da4dbe3554390af270.png)

It requires to have external modules to be enabled in settings.  
Then you can make it dynamic.

---

_[View the full topic](https://discourse.nodered.org/t/error-with-mysql-2-status-crash-node-red/74224)._
