MySQL connection help?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Highlight
- Report Inappropriate Content
After I reboot the VPS, I received the following error:
Could not connect to the database; Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
I searched a lot of solutions and I couldn't find the ability to restart the mysql without reboot the whole vps :
/scripts/restartsrv_mysql
/scripts/mysqlup --force
/scripts/mysqlconnectioncheck
because I did not found where is the /scripts located at.
and also I can't change the ownership to mysql :
sudo chown -R mysql /var/run/mysqld/
or
sudo chown -R mysql /hosting/var/run/mysqld/
_________________
Orthohin 

0
Kudos
0 REPLIES 0
