In MySQL I create two users:
CREATE USER 'Bob'@'localhost' IDENTIFIED by 'p'
CREATE USER 'Alice'@'%' IDENTIFIED by 'a'
And then, when I try to connect with: "mysql -u Alice -p" it fails, telling me
Error 1045 (28000) Access denied for user 'Alice'@'localhost'
T The same with Bob.
Anyone knows why occur this?
EDIT:
MySQL asks for the password, and the I putand give me that error.
EDIT 2: I am connecting in remote, not in local, so the only that must work is Alice.