Well, here is what I see:
select host, user from mysql.user; +-----------+------------------+ | host | user | +-----------+------------------+ | % | me | | 127.0.0.1 | root | | ::1 | root | | localhost | | | localhost | debian-sys-maint | | localhost | root | | ubuntu | | | ubuntu | root | +-----------+------------------+
I entered as root and would like to change the password for the user 'me'.
SET PASSWORD FOR 'me'@'%' = PASSWORD('letmein'); Query OK, 0 rows affected (0.00 sec)
Well, no lines are visible, as we can see.
Regarding the access attempt, the result is as follows:
Access denied for user 'me'@'localhost' (using password: YES) michael@ubuntu :/var/www/cgi-bin$
So he mentions localhost, not%.
Could you suggest me how to change the password for "me" and explain what%?
source share