aws-templateswordpress

Modify the database password

NOTE: A multi-tier environment typically consists of multiple servers. The steps below should be performed on the database server (the server instance hosting the database), which includes a mysql client.

In order to change the database password, you need to connect to the database. By default, the database port in this solution cannot be accessed over a public IP address. Follow these instructions to learn how to connect to the database server.

Once logged in the database server, you can modify the MariaDB password by running the following command:

$ /opt/bitnami/mariadb/bin/mysqladmin -p -u root password NEW_PASSWORD

Remember to replace the NEWPASSWORD placeholder with your desired password.

Last modification September 6, 2018