title: Start MySQL from the Windows Command Line
body: <p>I want to add IP address to user for allowing him remote control, from what I learn so far I need to paste this line in to the commend line. </p>
  
  <pre><code>GRANT ALL PRIVILEGES ON *.* TO 'user'@'ip address' IDENTIFIED BY 'password';
  </code></pre>
  
  <p>but when I did it , I received this error  </p>
  
  <p><img src="https://i.stack.imgur.com/vzqY1.png" alt="enter image description here">
  * in the original attempt, 'user' , 'ip', 'password' be written, not like in this example.   </p>
  
  <p>why commend line beginning with <code>mysqluc&gt;</code> and not with <code>mysql&gt;</code> ?</p>
  
  <p>I tried to use <a href="https://stackoverflow.com/questions/20544312/how-to-create-localhost-database-using-mysql">How to create localhost database using mysql?</a> explanation but, it doesn't help.</p>
  
  <p>Added :  I added environment variable, and when I write mysql, I<img src="https://i.stack.imgur.com/wPQR9.png" alt="enter image description here"> recived the following error  "</p>