CentOS 7: Set up MySQL Cluster the easy way




In this vides, I will show you how to set up a five node MySQL cluster on CentOS 7 virtual machines.

Original source


30 responses to “CentOS 7: Set up MySQL Cluster the easy way”

  1. Hi
    Venkat Nagappan
    I Installed Mysql cluser version 7.4.20. but when I use command mysql_secure_installation as I received an errror "Can't find a 'mysql' client in PATH or ./bin". Can you help me?. Thanks

  2. Just amazing enlightening video for cluster setup. Would you share some thoughts on how would you setup a cluster for READS exclusively, and WRITES exclusively and update the writes done in write cluster to read cluster in one direction. I guess thats another setup for really really large scale may be like wikipedia where writes are relatively less than reads. Also I would like to know like whats the max concurrent reads that mysql stand for 1G Memory and 1 VCPU. and whats the max concurrent writes that mysql stand for 1G Memory and 1 VCPU.

  3. Excellent video, could you please also do a video demonstration of how to install /configure a load balancer for the MYSQL cluster on CentOS? is the same configuration as in your other video demo for Nginx ?

  4. Thanks Venkat for this video tutorial. Can you please help me in setting up Mysql-Cluster on one centos7 machine? As I already tried many of tutorials explaining to setup MySQL Cluster on single machine but all left me in middle along with a lot of different issues.
    Thanks for you help in advance!!

  5. Excellent tutorial. Last year, I had tried this setup successfully on vagrant vm's based on your tutorial. Now I tried the same on digitalocean droplets (512MB) and could not get it working due to out of memory errors. Venkat, do you have recommendations on minimum system requirements for this architecture?

  6. You can easily rely on service/systemctl scripts when starting SQL nodes via "service mysql start" instead of mysqld_safe, all you need to do is enable port 2202 in selinux for mysqld_port_t object.
    Nice tutorial anyways.

  7. Hi Venkat,

    This is usefull video for every one, earlier i don't have an idea about mysql clustering however I have followed each and every steps show in the video and also installed Mysql-shared,Mysql-cluster rpm's on every vm .But on sql nodes I am getting an error "cann't find mysql client in path or ./bin " when i run mysql_secure_installation.
    let me know what are the rpm's should i install on it .Thank you…..

Leave a Reply