The password text file located in
/root
contains the WordPress site administrator password for MariaDB. With this update, the installation script backs the password file up to the WordPress site root.
If you've used a previous version of this script, you may need to take action. Consider the following scenario:
You regularly back up the datasets for your WordPress sites, but you haven't backed up the password files in
/root
. If you lose the system, you may be able to restore the WordPress sites, but, without the password files, you will no longer have administrator access to MariaDB.
The recommended course of action is to copy each site password file to its respective WordPress site root. For example, for a single WordPress site, assuming you've used the script defaults, the password file path will be
/root/wordpress_db_password.txt
and assuming your pool is named
tank
, the path to the site root will be
/mnt/tank/apps/wordpress
. Copy the password file there e.g.
Code:
cp /root/wordpress_db_password.txt /mnt/tank/apps/wordpress
Your password file will then be backup up as part of the backup of your WordPress datasets (you are doing this aren't you?). If you ever have to rebuild the server, just restore your WP sites and copy the backed up password file located in each site root back to
/root
.