My b2evolution Version: 2.x
This evening, I started getting this message when trying to access my blog:
+++++++
Additional information about this error:
MySQL error!
Error establishing a database connection!
(Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111))
1. Are you sure you have typed the correct user/password?
2. Are you sure that you have typed the correct hostname?
3. Are you sure that the database server is running?
+++++++
When I reported the fault to my ISP, I got this response back from them:
=====
Your sites script is trying to connect to MySQL on the wrong host.
Your trying to use "localhost" which is incorrect. We have corrected the issue by editing the host to "127.0.0.1" and you will find there are no more problems.
(localhost does sometimes work, but due to our secure environment it will not work 100% of the time. Changing your host as described above will permanently fix your issue).
Note this is not a problem with the hosting and is something you will need to fix with your script connecting to MySQL
Please let us know if we can be of any more assistance or you are unsure about anything mentioned above.
=====
Now given that the site has been running with b2evo at 0.9, 1.10 and now 2.6 for over two years on the same hosting, exactly as downloaded, I'm just a little perturbed that this should suddenly happen now. Does what they are suggesting make sense?
Yes