Problemas en la actualización Mysql
Luego de la ultima actualización recomendada de Trisquel, se actualizo mysql-server* y mysql-client* y al finalizar no iniciar el servidor y sale el error
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13)
Al intentar iniciar sale
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mysql start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start mysql
start: Job failed to start
¿que sera?
Arder, ¿ya viste si el archivo '/var/run/mysqld/mysqld.sock' existe?
Hola, gracias por tu ayuda...ya lo solucione,
lo que hice fue:
Borra: /var/lib/mysql que contiene todas las bases de datos (hacer backup)
Borrar: etc/mysql. En especial guardar el archivo my.cnf y luego borrarlo
Purgar y luego instalar mysql-server* mysql-client* php5-mysql mysql-common
Borrar archivo /etc/php5/apache2/php.ini
Reinstalar php5 y libapache2-mod-php5
Y al instalar de nuevo todo el problema desapareció.
Espero esto ayude a alguien mas :)