centos7 ectouch 命令如何修改重置admin管理员密码

2017-01-15   点击:   发布者:南京互诺科技
连接管理终端

输入 /alidata/server/mysql-5.5.37/bin/mysql -uroot -p    

然后输入root  密码

use 数据库名;

update esc_admin_user set   user_name = 'admin', password = MD5('123456'), ec_salt =''  where user_id =1";

这样密码就被重置成123456  为了安全建议 进入网站后台把密码再设安全一点。。
window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"1","bdSize":"16"},"share":{},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到:","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];