in ghost ~ read.

Ghost - reset your pwd when your forget it

Find your table in your database
  • I use MySQL to manage db so the process may be as followed:
//First of all access your ghost service
//Log in your mysql
mysql -uroot -p  
//find your db may be called xxxxxx?
show databases;  
//check xxxxxx database
use xxxxxx;  
//find tables
show tables;  
//may be users is the table which you want and check the detail of it.
select * from users;  
//update pwd(xxxxxx must be a hashing key, you can use to generate the secret )
update users set password="xxxxxx" where id=1;  
//modify the account status
update users set status="active" where id=1;  
//after that you can log in your account again.
comments powered by Disqus