Unable to retrieve WordPress admin password after uploading files

0

I have created a WordPress instance and could access WordPress admin dashboard by retrieving password by connecting to SSH and entering cat bitnami_application_password command.

Since I intended to migrate an existing website to the newly created WordPress instance by using UPDraft Plus plugin (https://wordpress.org/plugins/updraftplus/), I uploaded the files through the plugin.

The database was updated.

Since then, unable to access WordPress admin dashboard.

Forgot password not of help (http://3.6.56.8/?attachment_id=41) as getting Page not found message.

Help appreciated on how to access password. I understand I need to login to connected MySql database of the instance but not sure how to proceed.

profile picture
已提問 3 年前檢視次數 379 次
2 個答案
0

Edited functions.php file under wp-content/themes/activated theme folder adding new password which did work. https://postsplendid.com/aws-and-lightsail-wordpress-instance-connecting-with-ssh-putty-and-filezilla-for-remote-wordpress-files-access/

Edited by: RajeevBagra on Dec 1, 2020 2:15 AM

profile picture
已回答 3 年前
0

Hello,
Thank you for using Lightsail and posting a response that worked for you.

For anyone else looking at this post in the future, please note that the password in the filesystem is the default password set at install time. If you import the database (or use a plugin to restore from another site) you will likely need to use the password used on that other site.

Regards,
Gabriel

AWS
管理員
已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南