I wanted to configure remote access to my database. I could not configure this, and decided to reinstall ssh and mysql. After reinstalling, I have this error:
ERROR 2002 (HY000): it is not possible to connect to the local MySQL server via the socket '/var/run/mysqld/mysqld.sock' (2)
When I wanted to reinstall mysql, I get this error:
AppArmor parser error for /etc/apparmor.d/usr.sbin.mysqld in /etc/apparmor.d/usr.sbin.mysqld on line 9: Could not open 'Abstractions / MySQL
source
share