# (closed - duplicate) Node-red-contrib-mysql2

**URL:** <https://discourse.nodered.org/t/closed-duplicate-node-red-contrib-mysql2/64106>\
**Category:** General\
**Created:** [18 June 2022 11:45 UTC](https://discourse.nodered.org/t/closed-duplicate-node-red-contrib-mysql2/64106 "2022-06-18T11:45:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bertaud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bertaud/32/80981_2.png) [@bertaud](https://discourse.nodered.org/u/bertaud)\
**Post date:** [18 June 2022 11:45 UTC](https://discourse.nodered.org/t/closed-duplicate-node-red-contrib-mysql2/64106/1 "2022-06-18T11:45:29Z")

</div>

i have try to use node-red-contrib-mysql2 node  
In nodered documentation it is said

mysql nodes for node-red with paramaterization.

`npm install node-red-contrib-mysql2`

This is a fork to the original `node-red-contrib-mysql`, but changed the connection from pool to single connection at a time. We can also send the server details using `msg.server`, without adding those details at node level.

Can you explain how to format msg.server ?  
i try this way but it doesn't works

var test= {Host:mariadb\_Host,Port:mariadb\_Port, Username: mariadb\_Username, Password: mariadb\_Password, Database: 'test'}  
newmsg.Server=test

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [18 June 2022 16:27 UTC](https://discourse.nodered.org/t/closed-duplicate-node-red-contrib-mysql2/64106/2 "2022-06-18T16:27:42Z")

</div>

Olease don't post the same question multiple times. It wastes people's time.

I'm closing this thread

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [18 June 2022 16:30 UTC](https://discourse.nodered.org/t/closed-duplicate-node-red-contrib-mysql2/64106/3 "2022-06-18T16:30:00Z")

</div>


