one draft 2

myniftyc
May 28, 2022

OneNote Draft

1. SSH in your Bitnami Lightsail EC2.

You can use the web terminal on the AWS LightSail console or use your favorite SSH tool.

2. Get Bitnami Credentials

cat bitnami_credentials, if the username doesn’t work refer to this link //docs.bitnami.com/general/apps/drupal/get-started/find-credentials-link-mysql/

3. Find out which DB Stack runs

test -d /opt/bitnami/mariadb && echo “MariaDB” || echo “MySQL”

MariaDB was mine

4. Login to MySQL

using the below command, enter your password when prompted:

mysql -u your_username -p;

5. List the databases

SHOW DATABASES;

6. Enter your WordPress Database

USE database_wordpress;

7. Verify wp_wfblocks7 can be seen

SHOW TABLES;

8. Truncate wp_wfblocks7

TRUNCATE TABLE wp_wfblocks7;

Congratulations you have unlocked your website.

References

//docs.bitnami.com/

//docs.bitnami.com/general/apps/drupal/get-started/understand-default-config-mariadb/

//support.serversaurus.com.au/hc/en-us/articles/4402769730319-Remove-Wordfence-firewall-block-via-MySQL-CLI

//mariadb.com/kb/en/show-tables/

 

myniftyc

Related Posts

Welcome to My NiftyCloud

Welcome to My NiftyCloud

Cloud Introduction Welcome to My NiftyCloud! In today's digital age, the cloud has become an essential part of business and daily life. If you're new to the cloud or just getting started, this post will cover basic fundamentals, so you can get started with confidence....

Unlock Your WordPress Website

Unlock Your WordPress Website

Requirements Access to AWS LightSail Time Duration 30 minutes 1. SSH in Bitnami EC2 You can use the web terminal on the AWS LightSail console or use your favorite SSH tool. 2. Find your Bitnami Credentials cat bitnami_credentials if the username doesn’t work refer to...

11

11

Hold your horses cowboy!This website is under developmentWe will resume shortly.