Access Denied mysql after creating user, granting, and flushing -


i making https://stackoverflow.com/a/18756674/1197775.

but getting this:

mysql -uspot -pfakepasswd error 1045 (28000): access denied user 'spot'@'localhost' (using password: yes) 

how can debug problem?

update

i tried mysql error 1045 (28000): access denied user 'bill'@'localhost' (using password: yes).

no anonymous users anymore, no luck yet.

update 2

select user,host mysql.user;

+------------------+-------------------+ | user             | host              | +------------------+-------------------+ | root             | 127.0.0.1         | | root             | ::1               | | spot             | %                 | | root             | localhost         | +------------------+-------------------+ 

try 'mysql -u spot -p' , enter password.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -