Comment 9 for bug 1658067

Revision history for this message
Cédric Avril (naytheet) wrote : Re: [Bug 1658067] Re: mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'

Rights for /var/run/mysqld/mysqld.sock are 777 and owner is mysql. I
don't remember if mysql exists as an user. There is also a
mysqld.sock.lock. Both files are empty. What is the file used to
configure mysql?

Le 23/01/2017 à 14:08, ChristianEhrhardt a écrit :
> ** Summary changed:
>
> - package mysql-server-5.7 5.7.17-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
> + mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
>
> ** Summary changed:
>
> - mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
> + on-upgrade 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
>