How to setup mysql galera cluster on ubuntu18.04

setup mysql on all 3 vm

Prepare 3 vm

Install mysql on all 3 vm

Disable apparmor and remove mysql definition loaded in kernel

prepare configuration on all 3 node

Ufw config on 3 node

Start first node —

Join second node into cluster

Join third node into cluster

Configure Start on boot on each node


Login to first_node

Login on second_node

Login on third node

Login on first node ( again

Software Developer/Technical Writer&Author/body builder