sudo ./magento setup:install --base-url=http://127.0.0.1:8500 --db-host=localhost --db-name=magento2 --db-user=root --db-password=1234 --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
After running above command it shows following error
SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client
[InvalidArgumentException] Parameter validation failed
--db-password
?