you need to specify, from what machine the user could connect...
root@'localhost' is different from e.g.
root@'192.168.1.1', even if thats the ip from your machine
in order to connect from any ip, you need to connect to the database locally
( because root@'localhost' ist the standard admin-user, thats shipped with mysql )
c:> mysql --user=root --host=localhost
after that, you need to create a database ( e.g. 'mytest' )
CREATE DATABASE mytest;
after that, you need to create a user, that can connect to that system
( eg. 'me' )
GRANT ALL ON mytest.* TO me@'%' IDENTIFIED BY 'mypassword';
if you create the user me@'%', that means, that you can connect to the db from any machine
after that, you can connect and use mysql normally