Ho un vps con debian minimale. (stable)

E' una installazione semplice, messi tutti gli aggionamenti, installato il web server con il comando base-config e quindi selezione della relativa opzione.

Poi con il comando "apt-get install mysql-server" installo mysql, pero' non si avvia.


Se do il comando
/etc/init.d/mysql start

ottengo questo errore:

Starting MySQL database server: mysqld...failed.
Please take a look at the syslog.
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!


Se invece do il comando

mysql start

ottengo questo errore:

ERROR 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)


Da cosa puo' dipendere?