- 主节点创建账号
-- 更新初始账号
-- update mysql.user set password=password('ucloud.cn') where host='127.0.0.1' and user='root';
-- flush privileges;
-- 创建主从账号 192.168.179.1是从节点的IP
create user 'repl'@'10.93.123.15' identified by 'ucloud.cn';
grant replication slave on *.* to 'repl'@'192.168.179.1';
flush privileges;