title: mysqli::real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) error on Mac
body: <p>This is the error message I got after I tried to make a password and username for localhost and root. Please help me. I am using Mac by the way.</p>
  <p>MySQL said: Documentation</p>
  <p>Cannot connect: invalid settings.</p>
  <pre><code>mysqli::real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO)
  </code></pre>
  <p>phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.</p>