Database connection error (2): Could not connect to MySQL

Avatar
  • Answered
Now, my website www.**************.org can't open again. it is show me:
Database connection error (2): Could not connect to MySQL.
I don't know why my website sometimes OK, some times can't open.
Please help me check and restore it
Avatar
johnpaulb-imhs1
Hello newsch5, Thank you for your error connecting to mysql question. If you are getting database connection errors, this means means that a program running on your site is not able to communicate with the MySQL database service to retrieve data. There are two main reasons for getting this error, either the program itself is not connecting properly due to login credentials mismatch from the program's configuration files, or the MySQL service is currently not running on the server. I recommend reading our article on database connection errors, which provides more information on troubleshooting this issue. We work for the Customer Community, if you want to submit a request with support, you would have to contact Live Tech Support. If you have any further questions, feel free to post them below. Thank you, -John-Paul