Magento - Shell Install Script-SQLSTATE[HY000] [1045] Access denied for user 'magento'@'localhost' (using password: YES)

bin/magento setup:install
–base-url=http://123.123.123.123
–db-host=localhost
–db-name=magento
–db-user=magento
–db-password=“[email protected]
–admin-firstname=bob
–admin-lastname=smith
[email protected]
–admin-user=bob
[email protected]
–language=en_US
–currency=GBP
–timezone=Europe/London
–use-rewrites=1

while using this command I am getting below error

SQLSTATE[HY000] [1045] Access denied for user ‘magento’@‘localhost’ (using password: YES)

In InstallCommand.php line 274:

Parameter validation failed

I tried below given in the portal but its not working for me.

vi filename.sh

chmod +x filename.sh

Once that is completed - I ran the shell script using the following command on the command prompt.
./filename.sh

really appreciate if you can provide me workaround for this

I have resolved this issue. looks like there was access issues with DB user. thank you.