I have 2 MySQL servers with master-master replication between them. The replication is working fine.
I need to configure high availability between them so that if either one of them goes down, the other takes up.
I'm following this tutorial https://towardsdatascience.com/high-availability-mysql-cluster-with-load-balancing-using-haproxy-and-heartbeat-40a16e134691
Problem starts when I try to add theuser will be used by HAProxy for checking the health status of MySQL servers server1# mysql -u root -p mysql> CREATE USER 'haproxy_check'@'%';
I get a password policy error here. Since this is a production server hosting medical data, due to HIPAA compliance, I cannot have a user without a password in the MySQL database server. What can be the alternative approach to this.