Openfire is a cross-platform java based free Instant Messaging server which implements the XAMPP (Jabber) protocol with extensions. openfireは、クロスプラットフォームのJavaベースの無料インスタントメッセージングサーバーを実装してXAMPPの( Jabberの)プロトコルを拡張子にします。 It is very well suited as corporate instant messaging solution.ことは非常に適しとして企業のインスタントメッセージングソリューションです。 Here is how you can recover the admin password, in case you forget it.ここではどのように管理者パスワードを回復することができます。 、問題が発生した場合を忘れてしまった場合です。


How to recover Openfire admin password管理者パスワードを回復する方法openfire

1. 1 。 Login to MySQL and use openfire database. openfireデータベースにログインして、 MySQLと使用します。 I use the command:私のコマンドを使って:
mysql -uroot -p openfire MySQLの- uroot - p openfire

2. 2 。 Display the password for the admin user with the query:管理者ユーザのパスワードを表示するには検索クエリ:
select password from jiveUser where username = 'admin'; ここで、ユーザー名を選択しパスワードをjiveuser = '管理者' ;

This will display the initially chosen password for admin.これにより、管理者のパスワードを表示するに最初に選ばれた。 However if you have at any time changed the password from the administration screen then it will display NULL instead.しかしすれば、いつでもパスワードを変更してからの管理画面が表示されます。かわりにnullを入力してください。
After first change the password is encrypted and stored in the encryptedPassword field and cannot be recovered.パスワードは暗号化した後、最初に変更してencryptedpasswordフィールドに格納されて回復することはできません。

However you can change the password even without knowing the original password.しかしパスワードも変更することができますを知らずに、元のパスワードを入力します。

How to change Openfire admin password管理者パスワードを変更する方法についてopenfire

Change the admin (or any other users) password by setting password field to chosen value and encryptedPassword field to null.変更するに管理者(あるいは他のユーザー)のパスワードを設定パスワードのフィールドを選択したフィールドの値とencryptedpasswordをnullにします。 For example here is the query to set the admin password to 123456:たとえば、ここは、管理者のパスワードを設定してクエリを123456 :
update jiveUser set password='123456', encryptedPassword = null where username ='admin'; パスワードの設定更新プログラムjiveuser = 123456 ' 、 encryptedpassword =ヌルここでusername = '管理者' ;

This will change the current admin password to 123456.これにより、現在の管理者のパスワードを変更して123456です。 Remember to change it to a different value after you login to the admin console.を忘れずに、別の値に変更することをした後にログインするには、管理コンソールです。 This will also have the side-effect of encrypting your password in database for added security.これにも副作用は、パスワードを暗号化してデータベースに追加されました安全保障します。

Note: Openfire admin console is available at http://localhost:9090注:管理コンソールが利用可能にhttp://localhost:9090 openfire