WordPress not taking password and username

If you have WP CLI, this is how you would make the user ‘bob’ an administrator:

wp user set-role bob administrator

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)