New users?

admin

Administrator
Staff member
Hey, I am very new to MySQL but I have a problem with creating new users.
Eg.

mysql>grant all
->on thing.*
->to someone identified by 'password';
Query OK, 0 Rows affected (0.01 sec)

Thats right isn't it?
Then I quit and I try to log in again.

mysql -h localhost -u someone -p
Enter Password: password

Error 1045: Access denied for user: 'someone@locahost' (Using password: YES)

Please help, this is bugging me lol.
 
Back
Top