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
asked 3 years ago369 views
2 Answers
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
answered 3 years ago
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
MODERATOR
answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions