查看、修改kloxo下mysql的root密码

Posted by yar999 in Linux技术 on 2011/04/10 with No Comments

查看:
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密码

修改:

参照下图修改即可

标签:

Leave a Comment

Back to Top

2007-2017 © 北京瑞豪开源科技有限公司 京ICP备13004995号-2