amazon ec2 - MySQL error :ERROR 1045 (28000): Access denied for user 'guest'@'localhost' (using password: YES) -


i have linux ec2 instance has mysql server installed on it.

i can login mysql root command:

mysql -u root -p 

for reasons created user guest using following commands:

create user 'guest'@'%' identified 'passpass';  grant privileges on * . * 'guest'@'%';  flush privileges; 

then exit root user , try login guest user:

mysql -u guest -p

entered correct password , got error:

error 1045 (28000): access denied user 'guest'@'localhost' (using password: yes) 

i checked out anonymous user .

mysql> select user, host, password mysql.user user=''; empty set (0.00 sec) 

kindly help. not able connect mysql using guest user credentials

try run command

grant on . 'guest'@'%' identified 'passpass'; flush privileges;

thanks


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -