# MySQL Cluster (3 nodes) with MySQL node

**URL:** https://discourse.nodered.org/t/mysql-cluster-3-nodes-with-mysql-node/47181
**Category:** General
**Created:** [15 June 2021 14:10 UTC](https://discourse.nodered.org/t/mysql-cluster-3-nodes-with-mysql-node/47181 "2021-06-15T14:10:29Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![janedoe123](https://avatars.discourse-cdn.com/v4/letter/j/b19c9b/32.png) [@janedoe123](https://discourse.nodered.org/u/janedoe123)
#### Post date: [15 June 2021 14:10 UTC](https://discourse.nodered.org/t/mysql-cluster-3-nodes-with-mysql-node/47181/1 "2021-06-15T14:10:30Z")

</div>

Hello all,

I know that a standalone mySQL server can be connected to node-red via the mySQL node meant for that.

However my question is, can we connect a mySQL cluster (composed of 3 nodes) to node-red, using the same mySQL node?

---

<div class="post-metadata">

### Author: ![janedoe123](https://avatars.discourse-cdn.com/v4/letter/j/b19c9b/32.png) [@janedoe123](https://discourse.nodered.org/u/janedoe123)
#### Post date: [16 June 2021 06:58 UTC](https://discourse.nodered.org/t/mysql-cluster-3-nodes-with-mysql-node/47181/2 "2021-06-16T06:58:16Z")

</div>

little up ! 🙂

---

<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: [16 June 2021 07:00 UTC](https://discourse.nodered.org/t/mysql-cluster-3-nodes-with-mysql-node/47181/3 "2021-06-16T07:00:01Z")

</div>

> [@janedoe123](#):
>
> However my question is, can we connect a mySQL cluster (composed of 3 nodes) to node-red, using the same mySQL node?

Have you tried? If so, what issue are you seeing?

---

<div class="post-metadata">

### Author: ![janedoe123](https://avatars.discourse-cdn.com/v4/letter/j/b19c9b/32.png) [@janedoe123](https://discourse.nodered.org/u/janedoe123)
#### Post date: [16 June 2021 07:13 UTC](https://discourse.nodered.org/t/mysql-cluster-3-nodes-with-mysql-node/47181/4 "2021-06-16T07:13:35Z")

</div>

HI @Steve-Mcl I haven't tried yet, as I don't know if we can setup a hostname or domain name, instead of an IP.

I've only tried RQLite with HTTP nodes + HTTP 301 redirect, which works well.

---

<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: [16 June 2021 08:51 UTC](https://discourse.nodered.org/t/mysql-cluster-3-nodes-with-mysql-node/47181/5 "2021-06-16T08:51:12Z")

</div>

> [@janedoe123](#):
>
> I don't know if we can setup a hostname or domain name,

As far as node red is concerned there is no difference between IP and host name, that is handled by the OS.

---

<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: [15 August 2021 08:51 UTC](https://discourse.nodered.org/t/mysql-cluster-3-nodes-with-mysql-node/47181/6 "2021-08-15T08:51:13Z")

</div>

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