1.0 KiB
1.0 KiB
tags | |||
---|---|---|---|
|
apparmor="DENIED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13
https://stackoverflow.com/a/55102033
echo "/usr/sbin/mysqld { }" > /etc/apparmor.d/usr.sbin.mysqld
apparmor_parser -v -R /etc/apparmor.d/usr.sbin.mysqld
systemctl restart mariadb
Либо:
sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
apparmor_parser -R /etc/apparmor.d/disable/usr.sbin.mysqld
Либо:
sudo systemctl disable apparmor
Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
https://stackoverflow.com/a/50497470
mysql_install_db --user=root --datadir=/var/lib/mysql