Mysql connection issue

Hi. I created a user to connect to the CDR database, but when I try to log in, an error occurs: "Access denied for user 'cdr'@'' (using password: NO)." What can I do to resolve this issue? there is code:

mysql -u cdr -p'123456cdr' -h  -P 3306  -D cdr

mysql: [Warning] Using a password on the command line interface can be insecure.

ERROR 1045 (28000): Access denied for user 'cdr'@'' (using password: NO)


Please sign in to leave a comment.