My sql login issue


#1

I am not able to log in into Mysql

ERROR 1045 (28000): Access denied for user ‘surya’@‘localhost’ (using password: YES)
[suryapatro@gw01 ~]$ mysql -u surya -p
Enter password:
ERROR 1045 (28000): Access denied for user ‘surya’@‘localhost’ (using password: YES)
[suryapatro@gw01 ~]$

Please let me know what should be the password ??


#2

Password is itversity

And try to connect with this correct syntax:

image


#3

Since mysql database doesn’t have userid as ‘surya’, you can’t connect with your name. got it!!?