cannot connect to local MySQL server in Debian 4
I get an error that I have a problem, it appears when I want to boot mysql:
Code:
ERROR 2002 (HY000): Can not connect to local MySQL server through socket '/ var / run / mysqld / mysqld.sock' (2)
I am looking for a few hours on the net, but nothing matches my problem. This error occurs since I did a reboot of my dedicated manager via ovh. My technician is always on vacation, I dropped.
Thank you in advance for your help
Re: cannot connect to local MySQL server in Debian 4
I wonder if there would be no confusion between mysql-server mysql-client ?
Re: cannot connect to local MySQL server in Debian 4
socket is created at startup mysql necessarily if the server is started you can not access the command line.
To start (if debian):
etc / init.d / mysql start
But I do not understand that the server was not started at boot if the instructions for getting started.
Re: cannot connect to local MySQL server in Debian 4
Given the tree from which you try to start mysql, I have the impression that you've built by hand ... this may explain the non-starter boot. In fact, it is not the mysqld server name (it may change Debian to Red Hat).
Re: cannot connect to local MySQL server in Debian 4