[ad_1]
I have been having ongoing issues where my wordpress site suddenly displays the “cannot establish database connection” error. So far, the only way to fix this is to go into my cpanel with the webhost, and add a new database user, give them permissions, and change the information in the wp-config.
My webhost is saying this is not their issue. My question is whether a wordpress plugin could be causing this issue. Do plugins have the permissions to change that kind of stuff or break it somehow?
[ad_2]
I don’t know the specifics of your problem, and this answer isn’t gonna help you, but yes, plugins obviously have access to the WordPress database, and can read/write data.
Your issue stemming from a plugin would be very strange though.
No legit plugin will hamper user DB access.
That error can mean that your server is low on memory. If the site was working correctly then you see that error, I doubt it’s anything to do with a plugin, it’s a resource issue.
Who is your host? And how much memory are you allocated?