Log in to the copyright database, showing "This user has expired", the database is using MongoDB, gu need to extend this user's expiration time.
Resolution process:
1) Find the information (MongoDB Library, login username, password, port) in the Tomcat configuration of the website.
2) Use the information above to login to MongoDB
# MONGO 127.0.0.1:27017/fcyym-ufcyym_sa-padmin_hqdrm2012_root
Query all the tables under this library
> Show Collections
Query field information for the corresponding table
> Db.front_user.find ()
As below, we learned that the expiry time of this user editor is 2015-12-31 create_time This is the user's creation time
Dead_line This is the user's expiry time
Modify the expiry time of the above editor
Delayed until 2020-12-31
> db.front_user.update ({"_id": ObjectId ("509c5dc20cf20efcf8bc11d8")}, {"$set": {"Dead_line": Isodate ("2020-12-31 t00:00:00z ")})
Again, the expiry time of editor has been modified.
Use this user to login to the copyright database can normally log in.
Online MongoDB database user expiration Time modified operation record