Article 52DV3 wordpress and db connection issues

wordpress and db connection issues

by
vinmansbrew
from LinuxQuestions.org on (#52DV3)
So, I am running a wordpress server on rhel 6.10, and the db is also on a rhel 6.10 server. I don't know if it is normal practice to split the 2, it's how it was set up before me.

Anyways, randomly, users will get "error establishing a database connection"

php is 7.2, mysql is a bit older 5.5.62. I could update it, but this had been stable. Plus, things will need to get moved to rhel 8 soon.

Anyways, this issue is random, and I can't seem to find errors in the log files on either server. Possible I am looking in the wrong locations, or for the wrong thing.

I have checked wordpress and the databases, and both come back good.

I am wondering if someone has had this issue, and what they did. I have been thinking about restoring the default wp files, by replacing the wp-content folder. Though I am not sure what other ramifications that'll have.

Since it is a random issue, I doubt the mysql password is the issue.

It could be a plugin, and I can go through and rename plugins, but since I don't have a way of forcing the error to happen, I won't really know which plugin it may be.

Any thoughts?
Oh, wp is on latest version.latest?d=yIl2AUoC8zA latest?i=EIP7fRlqemE:a1u4Xqra7nA:F7zBnMy latest?i=EIP7fRlqemE:a1u4Xqra7nA:V_sGLiP latest?d=qj6IDK7rITs latest?i=EIP7fRlqemE:a1u4Xqra7nA:gIN9vFwEIP7fRlqemE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments