title: mysqli_real_connect(): The server requested authentication method unknown to the client [caching_sha2_password]
body: <p>When I open phpmyadmin it displays an error at the bottom of the page, it connects fine but there's an error. I was getting this error before but it wasn't allowing the admin page to open so I fixed it by changing the auth method:</p>
  
  <pre><code>ALTER USER root IDENTIFIED WITH mysql_native_password BY 'PASSWORD';
  </code></pre>
  
  <p>The error now only after login:</p>
  
  <pre><code>mysqli_real_connect(): The server requested authentication method unknown to the client [caching_sha2_password]
  mysqli_real_connect(): (HY000/2054): The server requested authentication method unknown to the client
  Connection for controluser as defined in your configuration failed.
  </code></pre>
  
  <p>It was working fine until I cleared the browser cookies. I can still use phpmyadmin.</p>
  
  <p>This is displayed on the main page too:</p>
  
  <pre><code>The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. Find out why. 
  Or alternately go to 'Operations' tab of any database to set it up there.
  </code></pre>