AWS Lightsail and Wordpress Admin Login Error

0

I am trying to log in to my WP-Admin page and I think I tried to log in with the wrong user name too many times. Now I am getting a message to contact the administrator which is me. I need to know how to reset this so I can get back to the login page.

Below is a screenshot of the error page. Does anyone know how to reset this page so I can access it? https://share.getcloudapp.com/WnuZXzrQ

The access to that page has been restricted by the administrator of this website You don’t have access to this page. Please contact the administrator of this website for further assistance.

posta un anno fa772 visualizzazioni
2 Risposte
2
  1. You need to SSH into the instance
  2. Run the following command to see the list of login users in the database. You must enter the MySQL root password. This password is located in the /home/bitnami/bitnami_application_password file: mysql -u root -p bitnami_wordpress -e "SELECT * FROM wp_users;"
  3. Note the ID of the user that you want to reset the password for. Then, run the following command. Be sure to replace NEWPASSWORD with your desired password and ADMIN-ID with the user ID obtained in step 2: mysql -u root -p bitnami_wordpress -e "UPDATE wp_users SET user_pass=MD5('NEWPASSWORD') WHERE ID='ADMIN-ID';"
profile picture
ESPERTO
con risposta un anno fa
profile picture
ESPERTO
Artem
verificato un mese fa
0

Hi,

Thanks for using Lightsail. This guide may help you set up your WordPress instance correctly:

https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-quick-start-guide-wordpress

AWS
MODERATORE
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande