# Node-red multi-user workaround

**URL:** <https://discourse.nodered.org/t/node-red-multi-user-workaround/24881>\
**Category:** General\
**Created:** [15 April 2020 15:03 UTC](https://discourse.nodered.org/t/node-red-multi-user-workaround/24881 "2020-04-15T15:03:26Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![Lupin\_III](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lupin_iii/32/67650_2.png) [@Lupin\_III](https://discourse.nodered.org/u/Lupin_III)\
**Post date:** [17 April 2020 18:13 UTC](https://discourse.nodered.org/t/node-red-multi-user-workaround/24881/21 "2020-04-17T18:13:05Z")

</div>

[Colin](https://discourse.nodered.org/u/Colin)  
that you know there is a possible way to set the parameters I need to connect to MySQL through msg?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [17 April 2020 21:09 UTC](https://discourse.nodered.org/t/node-red-multi-user-workaround/24881/22 "2020-04-17T21:09:09Z")

</div>

I don't believe that is possible using the standard mysql node. I don't know whether there are any mysql nodes that do allow that. I presume that if you directly access the nodejs low level mysql modules that you can do that.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [17 April 2020 21:11 UTC](https://discourse.nodered.org/t/node-red-multi-user-workaround/24881/23 "2020-04-17T21:11:19Z")

</div>

> [@Lupin\_III](#):
>
> Can you login [grafana] with two users at the same time? If yes How do you do it?

Not in the same browser instance at the same time obviously. You can certainly login from different machines as different users. What makes you think you can't?

---

<div class="post-metadata">

**Author:** ![mtoko](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mtoko/32/138_2.png) [@mtoko](https://discourse.nodered.org/u/mtoko)\
**Post date:** [18 April 2020 08:20 UTC](https://discourse.nodered.org/t/node-red-multi-user-workaround/24881/24 "2020-04-18T08:20:03Z")

</div>

@Lupin_III

I would suggest some more research on using Grafana. You can create multiple Organisations ( in Server Admin) and each of these organisations can have multiple users and connect to a database (mysql) source.  
The solution could be, based on the information you have provided.  
Node Red saves the data to a mysql database on the local site, this is the Node Red work you have already done. The result would be a database for each local site  
You could install one Grafana at each site and then provide access over the internet or a cloud installation of Grafana and an Organisation for each site that has a connection to each of the site databases.  
If the solution is mostly Grafana then this may not be a topic for the Node Red forum?

---

<div class="post-metadata">

**Author:** ![Ranki](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ranki/32/41282_2.png) [@Ranki](https://discourse.nodered.org/u/Ranki)\
**Post date:** [19 April 2020 22:14 UTC](https://discourse.nodered.org/t/node-red-multi-user-workaround/24881/25 "2020-04-19T22:14:03Z")

</div>

Hey @Lupin_III,

for the user issue; did you try out this workaround?  
[https://github.com/phyunsj/node-red-dashboard-login](https://github.com/phyunsj/node-red-dashboard-login)

Cheers  
Ranki

---

<div class="post-metadata">

**Author:** ![Lupin\_III](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lupin_iii/32/67650_2.png) [@Lupin\_III](https://discourse.nodered.org/u/Lupin_III)\
**Post date:** [20 April 2020 14:26 UTC](https://discourse.nodered.org/t/node-red-multi-user-workaround/24881/26 "2020-04-20T14:26:28Z")

</div>

@ [Ranki](https://discourse.nodered.org/u/Ranki)

Thanks but it's not what I need. I need more user more user logged in at the same tiem using different data source.

@ [mtoko](https://discourse.nodered.org/u/mtoko)  
Thanks for the suggestion.Thanks for the suggestion. Yes, at the end I succeeded in creating more than one user, so your solution could works.  
Anyway, probably if this became more a grafana solution, maybe is not correct to go ahead with this topic on this forum.  
But any more suggestion regarding node-red are always more than welcome

---

<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:** [19 June 2020 14:26 UTC](https://discourse.nodered.org/t/node-red-multi-user-workaround/24881/27 "2020-06-19T14:26:29Z")

</div>

Closed on 19 June 2020 14:26 UTC

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

[Previous page](https://discourse.nodered.org/t/node-red-multi-user-workaround/24881.md?page=1)
