title: Granting localhost privileges or creating another user with them
body: <p>I connected to MySql by this command:</p>
  
  <pre><code>$ mysql -h localhost
  mysql&gt; CREATE USER 'alex1'@localhost IDENTIFIED BY 'password$';
  ERROR 1227 (42000): Access denied; you need (at least one of) the CREATE USER privilege(s) for this operation
  </code></pre>
  
  <p>And now I can't anything (create a new user with CRUD privileges, for instance) because <code>localhost</code> doesn't have enough privileges. I can't connect to MySql with any other credentials because I don't remember them. How do I grant <code>localhost</code> privileges to do that or create another user or a schema?</p>