Hi Ashish,
Welcome to MilesWeb forum. I hope you have not added any information on your Drupal site. The best option to change the path is to reinstall the Drupal. During the installation process, please leave 'In Directory' field blank. If you add anything in this field then again Drupal will get installed on mydomain.com/text-you-type-in-directory-field