I want to install magento and I run the command below,
php bin/magento setup:install --cleanup-database
--base-url=“http://**.***.**.*/var/www/html/magento/“
--db-host=“database-1.************.***********-3.rds.amazonaws.com”
--db-name=“magento2”
--db-user=“admin”
--db-password=“*********”
--admin-firstname=“****”
--admin-lastname=“*********”
--admin-email=“************@gmail.com”
--admin-user=“admin”
--admin-password=“********”
--language=“ja_JP”
--currency=“JPY”
--timezone=“Asia/Tokyo”
--use-rewrites=“1”
Then I got an error,
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
In InstallCommand.php line 282:
Parameter validation failed
As a test, I tried just the first command below,
php bin/magento setup:install --cleanup-database
also I got the same error,
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
In InstallCommand.php line 282:
Parameter validation failed
I think I have a problem on my database(MySql) but I’m not sure.
I am use RDS for database and running the commands on EC2.
Please help me!