misu3108 Posted February 3, 2016 Share Posted February 3, 2016 Hi, I have my PS 1.6.1.4 installed on a VPS and I'm getting same error after 3 different rebuild 2 ububtu and now debian 8. So it's not from the os... I have mysql not nginx and php 5.6.17 with opcache enabled. I noticed I'm getting this error : Link to database cannot be established: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) After i restart the MySql service the site works again. What can be the problem? My memory usage is low 270M / 2048M. Thanks. Link to comment Share on other sites More sharing options...
misu3108 Posted February 3, 2016 Author Share Posted February 3, 2016 Anyone has any idea? Link to comment Share on other sites More sharing options...
misu3108 Posted February 7, 2016 Author Share Posted February 7, 2016 ok so from what I read the vps date and time might have a bug like a second delay and that's why the mysql server crashes. The solution? I changed my vps server with a different provider and it's been up and running for last 24h. 1 Link to comment Share on other sites More sharing options...
ZUKADISCOUNT Posted November 5, 2017 Share Posted November 5, 2017 Bonjour, après un message comme celle ci : Link to database cannot be established: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Comment faire pour relancer le serveur Mysql ? Merci à vous. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now