cancel
Showing results for 
Search instead for 
Did you mean: 

No arguments expected for "setup:install" command, got " ".

No arguments expected for "setup:install" command, got " ".

Hi, 
I want you to solve my problem of installation of magento2.4.6.

 

I am installing magento on EC2 and using RDS as a database.

And I run the command below.

 

[ec2-user@ip-***-**-**-*** magento]$ php bin/magento setup:install  --cleanup-database  \

--base-url=“http://**.***.**.*/var/www/html/magento/“  \

--db-host=“database-*.*************.************.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 the erorr 「No arguments expected for "setup:install" command, got " ". 」

 

I hope I will get some clue from you!