I have done it too.
when "mysql -u root"it said:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
then I use "mysql -u root@localhost" ,It work!
but when I create...