how to get a fresh installation of magento without deleting database

This is possible when you are running your magento community edition but unfortunately you are unable to log in as administrator

as your retrieve password is not working.

now the problem is that magento is large in size and you are not in a position to upload it again or first remove it and then upload it again

there follows a simple and quick procedure for getting magento fresh installation.

first go to your magento root directory

go to app

go to etc folder

there you would find local.xml

delete it and type your domain name there in browser now it would lead you for a fresh copy of wordpress