title: Access denied for user 'root'@'localhost' (using password: YES) - hibernate
body: <p>1) I installed mysql;</p>
  
  <p>2) I changed <code>bin-addres</code> row from 127.0.0.1 to my server IP</p>
  
  <p>3) I changed root permission with <code>GRANT ALL ON *.* TO 'root'@'localhost';</code> this line returns <code>Query OK, 0 rows affected (0.00 sec)</code></p>
  
  <p>4) I launched <code>SHOW GRANTS FOR 'root'@'localhost';</code> returns <code>GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY PASSWORD '******' WITH GRANT OPTION MAX_QUERIES_PER_HOUR 1000</code></p>
  
  <p>When I tried to connect to my db with hibernate, the system returns me <code>Access denied for user 'root'@'localhost' (using password: YES)</code></p>
  
  <p>What have I to do?</p>
  
  <p>(Ps. I'm sorry for bad english).</p>