I partially solved the problem with a script #!/bin/bash sudo /etc/init.d/apparmor stop sudo /etc/init.d/mysql restart mysql -u root -p -------------------------------------- partially because when I work with mySQL I have to stop AppArmor.
I partially solved the problem with a script d/apparmor stop ------- ------- ------- ------- ---
#!/bin/bash
sudo /etc/init.
sudo /etc/init.d/mysql restart
mysql -u root -p
-------
partially because when I work with mySQL I have to stop AppArmor.