title: Can't connect to MySql Server and can't reconfigure MySql server
body: <p>I had problem with connection to database in my Rails application, so reinstalled everything according to <a href="https://docs.google.com/document/edit?id=1I0vg_xntIykSsfnorCLaYtDXS0OVulz3UH4eCouoKtg" rel="nofollow">this tutorial</a>, and it doesn't help.</p>
  
  <p>Now when I'm running the installation of MySql Server it says:</p>
  
  <blockquote>
    <p>error 1045 Access denied for 'root@localhost'(using password NO)</p>
  </blockquote>
  
  <p>When I was reconfiguring leaved the field old password empty.
  How I can solve this ?
  Here is my log:</p>
  
  <blockquote>
    <p>Can't connect to MySQL server on 'localhost' (10061)</p>
    
    <p>Couldn't create database for {"adapter"=>"mysql2", "encoding"=>"utf8", "reconnect"=>false, "database"=>"testapp_development", "pool"=>5, "username"=>"root", "password"=>"root", "host"=>"localhost"}, charset: , collation: Can't connect to MySQL server on 'localhost' (10061) </p>
    
    <p>Couldn't create database for {"adapter"=>"mysql2", "encoding"=>"utf8", "reconnect"=>false, "database"=>"testapp_test", "pool"=>5, "username"=>"root", "password"=>nil, "host"=>"localhost"}, charset: , collation:</p>
  </blockquote>