I am in the process of moving my localhost Drupal 7 site to the live site on the web. I have followed the steps below. I did install Drupal in a subdomain where it lives at example.org/drupal.

1) Clear your cache table 

2)Export Database

3) Login to your Cpanel. Go to Mysql Database. Create a new database. (remember name of the database) and add a user to it. (remember username and password as you will required to use same in your settings.php file)

4)Now go to Phpmyadim from cpanel. Select the new database that you have created. Click on the import and upload that sql file that you created in step 4.
5)Check that you have same no. of tables in your new database (on server) as you were having on local server

5) Now go to your settings.php file sites/default/settings.php and change the name of database to new one that you created with username:password that you created for that database

6) Now use your ftp account and filezilla to transfer all the file on server

After completing all the steps when I go to mysite.com/drupal I am greeted with a "The page isn't redirecting properly" error. It shows that it is redirecting to <http://example.org/drupal/install.php>. After doing some research I found out that this is usually due to an error in settings.php. I have tried everything I can think of but still the error persists. 

Here is my code in settings.php around line 180.

```
/* 
 * Database configuration format:
 * @code
 *   $databases['default']['default'] = array(
 *     'driver' => 'mysql',
 *     'database' => 'whiteoa_wob_newdesign',
 *     'username' => 'whiteoa_admin',
 *     'password' => '********',
 *     'host' => 'localhost',
 *     'prefix' => '',
 *   );
 */

```

I have also tried my database name and username without the whiteoa prefix. Any help would be greatly appreciated.