in this setup it is not accepting username & password as root & root respectively for mamp server(my sql)
Did you tried with a qualified domain name? At least something like magento.localhost
Please make sure the password of mysql is root as default it can be blank.
after entering username & user password it is redireting to same page without anyu error please get me some solution.
I have very short time to make website live!!!
Installing it to localhost can cause a redirect loop where the login page leads back to the login page. To fix this, you will need to instead use 127.0.0.1, your actual IP if it's static, a domain name if you own one that is pointed at your static IP, etc - basically anything with a dot in it. You may need to delete all files and databases and start the install over.