Installing Magento2 by command lin on MacOS – Error with command bin/magento setup:install

So I am trying to install Magento 2 for the first time on my new MacBook I have everything setup except for installing with the setup command bin/magento setup:install

I created a database and a user with privileges to that database with the mysql command, but after I run:

--base-url='http://127.0.0.1/magento2' 
--db-host='localhost' 
--db-name='magento2' 
--db-user='nick' 
--db-password='root' 
--admin-firstname=admin 
--admin-lastname=admin 
[email protected] 
--admin-user=admin 
--admin-password=admin123 
--language=en_US 
--currency=USD 
--timezone=America/Chicago 
--use-rewrites=1

I get this error message:

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

In InstallCommand.php line 274:

Parameter validation failed

Since I have never installed Magento 2 on my own I don’t know what to do.
Oh yeah and I am using MAMP as server with Apache port 80 and MySQL port 3306