Find Us on Facebook

Firoza Parvin Badhon

Website Transfer(Part-6, Database configuration)

Hello friends. If you following my blog and all the previous posts about website transfer to a new hosting, now your have a clear idea about this process. Let me refresh again.
  1. Create a backup zip file of all the files and folders of your website.
  2. Create a backup .sql compressed file of your old database.
  3. Add your domain to your new hosting and upload your files and folders zip file and unzip it.
  4. Create a new database, database user and password for your new website.
  5. Upload your old database to your newly created database.
Here comes the last and final step. Now your just have to configure your new website and database properly its called "database configuration". Lets start.

If you are using Wordpress for your website log in to you hosting account and open the file manager. Here your will find your domain folder (if you use a addon domain otherwise go for the root), open that than your will find a file named "wp-config.php". This is the database configuration file. This file contain the database name, database user name and password. Select this file and open this file with "Code Editor" from the top tool bar.

Database configuration
Database configuration

Now check the code editor for the "wp-config.php" file. It will look almost the same as the below picture.

wp-config.php  file
wp-config.php file 
Here you will find the Data base name (DB_NAME) here your have to add your newly created database.
In the next line there will be database user name (DB_USER) here add the user name of your newly created database and next your have to add database password (DB_PASSWORD).

Now its done. All the process of website transfer to a new hosting is completed. Enjoy!

Firoza Parvin Badhon

About Firoza Parvin Badhon -

Author Description here.. Nulla sagittis convallis. Curabitur consequat. Quisque metus enim, venenatis fermentum, mollis in, porta et, nibh. Duis vulputate elit in elit. Mauris dictum libero id justo.

Subscribe to this Blog via Email :