On the 14th am, my WordPress website started to show: “Error establishing a database connection”
I thought that it was related to a new SSL certificate applied on the 13th pm.
Now I am not sure what the root cause was and if it was related to this outage (I could connect to the DB from phpMyAdmin) but my website started to work again after updating wp-config.php copying the user and password from my vPanel.
The wp-config.php file wasn’t modified since I created the website but as I discovered, it contained a user name different from the user listed in vPanel in the MySQL section (missing epiz_ prefix and having a _2 suffix) and had a password I never saw.
The mystery is:
a) Did the outage modify user names and passwords in the DB? or
b) Who/what process could modify my wp-config.php (without altering the date of the file)? or
c) How come the website worked before?