title: Ubuntu 18.04 start mysql without root privilege
body: <p>I just installed ubuntu 18.04 and installed LAMP on it, however I had trouble using mysql without the root privilege. when I write:</p>
  
  <blockquote>
    <p>mysql -u root -p</p>
  </blockquote>
  
  <p>and enter the password I configured it throws access denied. unless if I write</p>
  
  <blockquote>
    <p>sudo mysql -u root -p</p>
  </blockquote>
  
  <p>and enter the password that I'm able to connect. But I don't want the sudo cause it prevents having workbench to connect to mysql, same applies to phpmyadmin too. Any hints on how to fix that?</p>