title: MySQL ERROR: Not Connected
body: <p>I am learning MySQL and stumbled upon a problem after installation of MySQL. I switched to sql mode and from there I tried to connect to root@localhost but after I inputted the password, it says there is no such Host. I tried other host names, but the same results show where it says</p>
  
  <blockquote>
    <p>ERROR: 2005: No such host is known 'hostname'</p>
  </blockquote>
  
  <p>I even tried to make a simple table, but when I enter it, I get the error that says ERROR: Not Connected, which was expected. How exactly do I get through this, I am a bit lost despite having everything installed.</p>
  
  <p>I use commands such as:</p>
  
  <blockquote>
    <p>mysql-sql> \connect 127.0.01; </p>
  </blockquote>
  
  <p>From there enter a password and no success.</p>