Eu acabei de atualizar o kali linux e o mysql foi quebrado desde então. depois de iniciar mysql
& apache2
services Eu executo o comando mysql
, então recebo este erro:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Verifico se tenho mysql-server
instalado, por isso corro apt-get install mysql-server-5.5
e é isso que eu recebo:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-server-5.5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
mariadb-server-10.1:i386 mysql-common mariadb-server-10.1
E: Package 'mysql-server-5.5' has no installation candidate