Dir Sir,
While we install , we have the erroe message "bash: syntax error near unexpected token `)' " . Please let us know how to solve it.
[root@sever01 magento23]# bin/magento setup:install --base-url=http://localhost/magento23 --db-host=localhost --db-name=magento --db-user=root --db-password=sq8JeE9U_D)tP --admin-firstname=admin --admin-lastname=admin --admin-email=admin@admin.com --admin-user=admin --admin-password=admin123 --language=en_US --currency=USD --
timezone=America/Chicago --use-rewrites=1
Solved! Go to Solution.
Hi @alex_chang1
")" In the password string returning error.
Try password in the single quote once as below.
[root@sever01 magento23]# bin/magento setup:install --base-url=http://localhost/magento23 --db-host=localhost --db-name=magento --db-user=root --db-password='sq8JeE9U_D)tP' --admin-firstname=admin --admin-lastname=admin --admin-email=admin@admin.com --admin-user=admin --admin-password=admin123 --language=en_US --currency=USD --
timezone=America/Chicago --use-rewrites=1
I hope it will help you!
Hi @alex_chang1
Glad to help you.
In the above commands you are using magento database name. Use the real database name.
[root@sever01 magento23]# bin/magento setup:install --base-url=http://localhost/magento23 --db-host=localhost --db-name=magento23 --db-user=root --db-password='sq8JeE9U_D)tP' --admin-firstname=admin --admin-lastname=admin --admin-email=admin@admin.com --admin-user=admin --admin-password=admin123 --language=en_US --currency=USD --
timezone=America/Chicago --use-rewrites=1
Try the above command.
I hope it will work you.
Hi @alex_chang1
")" In the password string returning error.
Try password in the single quote once as below.
[root@sever01 magento23]# bin/magento setup:install --base-url=http://localhost/magento23 --db-host=localhost --db-name=magento --db-user=root --db-password='sq8JeE9U_D)tP' --admin-firstname=admin --admin-lastname=admin --admin-email=admin@admin.com --admin-user=admin --admin-password=admin123 --language=en_US --currency=USD --
timezone=America/Chicago --use-rewrites=1
I hope it will help you!
thanks and it is solved ,but another problem appears below. Actually, we have created the mysql database 'magento23' . Please help it.
Database 'magento23' does not exist or specified database server user does not have privileges to access this database.
In InstallCommand.php line 264:
Parameter validation failed
Hi @alex_chang1
Glad to help you.
In the above commands you are using magento database name. Use the real database name.
[root@sever01 magento23]# bin/magento setup:install --base-url=http://localhost/magento23 --db-host=localhost --db-name=magento23 --db-user=root --db-password='sq8JeE9U_D)tP' --admin-firstname=admin --admin-lastname=admin --admin-email=admin@admin.com --admin-user=admin --admin-password=admin123 --language=en_US --currency=USD --
timezone=America/Chicago --use-rewrites=1
Try the above command.
I hope it will work you.