title: Unable to connect to MariaDB using DBeaver
body: <p>I just installed MariaDB 10.1.29 on Ubuntu 18.04. From the command line I can connect using sudo:</p>
  
  <pre><code>sudo mysql -u root -p
  </code></pre>
  
  <p>But not without sudo.</p>
  
  <p>Also, if I try to connect to the database through <a href="https://dbeaver.io/" rel="noreferrer">DBeaver</a>, I get:</p>
  
  <pre><code>Could not connect: Access denied for user 'root'@'localhost'
  </code></pre>
  
  <p>While the credentials are correct. I tried installing MySQL 5.7, but I'm experiencing the exact same issue there as well.</p>
  
  <p>What am I missing?</p>