ssh登录之后执行下面的命令,最后一对双引号里面包含的就是mysql的root密码
cat /usr/local/lxlabs/kloxo/etc/slavedb/dbadmin
例如
[root@centos ~]# cat /usr/local/lxlabs/kloxo/etc/slavedb/dbadmin
O:6:"Remote":1:{s:4:"data";a:1:{s:5:"mysql";a:1:{s:10:"dbpassword";s:11:"abc.passwd";}}}
abc.passwd就是mysql默认的root密码