Mysql access is denied

whenever I tried this command to get connectivity with mysql,

mysql -u sqoopuser -p NHkkP876rp -h cxln2.c.thelab-240901.internal

I am getting following error and unable to connect with mysql

ERROR 1044 (42000): Access denied for user 'sqoopuser'@'%' to database 'NHkkP876rp'

my lab username is kkgprest27288...

could you please help me out?

Hi,
Mysql is working working fine. You need to explicitly give the password. Your syntax is also correct only.
The right one is "mysql -u sqoopuser -p -h cxln2.c.thelab-240901.internal then password Password : NHkkP876rp.

All the best!

1 Like