Last night dhnexus.com was down, first time this has happened so far. It said it could not connect with the database. So of course I immediately thought it was because of IPv6. And then started to research solutions to the problem.
Fortunately it happened late in the evening, and I thought to postpone any action after proper research today. Good I did that as when I checked this afternoon the Website was up and running fast and furiously as it always did.
So following last night’s preliminary research, it must have been the database server that had been down. As everything else was working OK. Apache was up and running. I tried to fiddle a little with the wp config file, but this did not help, so decided to delay any more action for today. Thank goodness I did that, as in all probability if I had continued, it would have grown into an all nighter all for nought.
During my research I picked up on a few suggestions for checking the MariaDB database which I would have worked on if the Website had still been down this afternoon.
Here are some common commands for managing MariaDB under systemd:
systemctl status mariadb
systemctl start mariadb
systemctl restart mariadb
systemctl stop mariadb
systemctl reload mariadb
If you want to check on the database:
mysql -u username -p
Password: dbase password
Here is a URL of an excellent tutorial of how to install and manage MariaDB on Debian 10:
https://www.tecmint.com/install-mariadb-database-in-debian-10/