2 回答
- 最新
- 投票最多
- 评论最多
2
- You need to SSH into the instance
- 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;"
- 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';"
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
相关内容
- 已提问 3 个月前
- AWS 官方已更新 5 个月前
- AWS 官方已更新 1 年前
Please accept the answer if it was useful for you