Answer the question
In order to leave comments, you need to log in
MySQL strange behavior on Ubuntu 14.04 with VestaCP installed, how to win?
Hello!
The situation is this. Decided to play around with DigitalOcean. Started a droplet with Ubuntu 14.04, on which I installed the VestaCP panel, which, in turn, took and pulled up AMP and the rest. MySQL behaves strangely: when the system is started/restarted, the process seems to start, but it does not allow to connect to itself (writes the standard error ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/ mysqld/mysqld.sock' (2) ). If you do:
service mysql stop
service mysql start
starts working fine. /etc/init.d/mysql stop
- normally stops /etc/init.d/mysql start
- does not start, without swearing at the same time - it just freezes until you press ctrl + c. Answer the question
In order to leave comments, you need to log in
Stop mysql, then start and show the results of these commands:
ps auwx | grep mysql
tail -n 100 /var/log/mysql.log
netstat -npl
Thought I was the only one with this problem.
How did you solve this problem?
At home, I see (htop) when I do service mysql stop that the service has stopped and after a couple of moments it starts again by itself.
How to fill his hands on his hands, so that he would not start without permission?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question