Comment 2 for bug 1584287

Revision history for this message
Robie Basak (racb) wrote : Re: package mysql-server-5.7 5.7.12-0ubuntu1.1 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1

From log:

Configurando mysql-server-5.7 (5.7.12-0ubuntu1.1) ...
insserv: warning: current start runlevel(s) (empty) of script `mysql' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `mysql' overrides LSB defaults (0 1 6).
mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server
Upgrade process encountered error and will not continue.
mysql_upgrade failed with exit status 11
dpkg: erro ao processar o pacote mysql-server-5.7 (--configure):
 sub-processo script post-installation instalado retornou estado de saída de erro 1