Answer the question
In order to leave comments, you need to log in
How to connect to MySQL in Ubuntu?
Hello!
I installed Ubuntu on my computer and I want to develop locally with this OS. Installed MySQL Workbench and the mysql-server package.
When I try to connect as root, I get an error that I can't connect.
Can you explain step by step how to do it?
I enter the command sudo mysql -u root into the terminal, it works.
Answer the question
In order to leave comments, you need to log in
searching for An AppArmor policy prevents this sender from sending this message to this recipient
gives the answer
https://itectec.com/ubuntu/ubuntu-cannot-connect-m...
What is the exact error that you are unable to connect to?
If the error text is "Access deined for user", then you are simply entering the password incorrectly.
This solution helped me once.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question