The root password is left blank during the installation of the nodes in the database node cluster to ensure that the nodes can successfully establish replication between all nodes. Once all nodes have been installed and are replicating, you must change the root password to secure the cluster.
- Log in to the console of any node in the database node cluster.
- Open a shell inside the first database node using the following
docker exec -it <node_name> /bin/bash
This opens a bash command line within the container.
- Log in to the database node using the following
- Change the root password using the following
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('<new_root_password>'); SET PASSWORD FOR 'root'@'%' = PASSWORD('<new_root_password>'); FLUSH PRIVILEGES
Once you have successfully configured the Distributed DDNS Data Nodes, you can proceed to install the Distributed DDNS Application Node and Distributed DDNS Service Nodes.