title: mysql ERROR 1064 (42000): You have an error in your SQL syntax;
body: <p>i have installed mysql 8.0.12 into one linux node and when i try to give below grant permission to get access from other nodes, i am getting 42000 error</p>
  
  <p>command issued :</p>
  
  <pre><code>GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password';
  </code></pre>
  
  <p>Return results:</p>
  
  <blockquote>
    <p>ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IDENTIFIED BY 'secure1t'' at line 1</p>
  </blockquote>
  
  <p>Any help would be appreciated.</p>