title: Access denied for user 'root'@'localhost' in dbeaver
body: <p>When I do a test connection in DBeaver in Ubuntu 18.04, I get an error:</p>
  
  <blockquote>
    <p>Access denied for user 'root'@'localhost'</p>
  </blockquote>
  
  <p>I do not understand how to solve this. I can connect to mysql in terminal by <code>sudo mysql</code>.</p>
  
  <p><a href="https://i.stack.imgur.com/j9by8.png" rel="noreferrer"><img src="https://i.stack.imgur.com/j9by8.png" alt="enter image description here"></a></p>
  
  <p>I have also left the database field empty.</p>