码迷,mamicode.com
首页 > 其他好文 > 详细

ambari修改admin密码

时间:2018-02-07 21:21:07      阅读:311      评论:0      收藏:0      [点我收藏+]

标签:oracle   system   ase   host   lte   earlier   tps   oracl   log   

https://community.hortonworks.com/questions/449/how-to-reset-ambari-admin-password.html

 

1) Postgres - As mentioned earlier

2) Mysql

Login as root user mysql -u root -p ( press enter, it will ask for password)

use mysql;

SET PASSWORD FOR ‘admin‘@‘localhost‘= PASSWORD(‘admin‘);

OR

UPDATE mysql.user SET Password=PASSWORD(‘admin‘) WHERE User=‘admin‘ AND Host=‘localhost‘;

localhost can be FQDN based on mysql setup

 

3) Oracle

Login as sys or system user

sqlplus sys as sysdba

alter user admin identified by ‘admin‘;

ambari修改admin密码

标签:oracle   system   ase   host   lte   earlier   tps   oracl   log   

原文地址:https://www.cnblogs.com/0xcafedaddy/p/8428260.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!