On 9 Oct 2002, ddc_prueba wrote: > As I was having problems with mysql and already I had done nothing with > it I decided to do a "rpm -e " to mysql packages and removed > /var/lib/mysql directory as well. Then I reinstalled it... > > Problem is that there is no socket file now, so when I execute myql > client it complaints: > > mysqladmin: connect to server at 'localhost' failed > error: 'Can't connect to local MySQL server through socket > '/var/lib/mysql/mysql.sock' (2)' > Check that mysqld is running and that the socket: > '/var/lib/mysql/mysql.sock' exists! >
You've probably checked already, but did you make sure that mysqld is started? The socket is created when the mysql service starts up and deleted after it ends. Try: service mysql start To start on boot: chkconfig --level 2345 mysql on > > How can I make the socket file I am missing?? (Have googled around and > have seen this is even in faqs, but they don't explain how a socket file > is done). > > > >
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
