How to Move WordPress Database to a New Server?

Spread the love

Moving WordPress database to a new server is not a dilemma; it is such an easy task, thanks to the flexibility of WordPress. Absolutely, there is no need to re-install the software; it is just a matter of a few steps and you are done. All you need now is to read the next article. Go On!

The main challenge of how to move WordPress database to a new server is how you are clever in transferring a database (a collection of files). Of course, you can; and yes, it is that simple.

The process of moving to a new Server composes of two main steps

  1. Exporting your blog database from the old server
  2. Importing your blog database to the new server

To make things easier, think of your database as a briefcase that includes all your important things (blog contents) and you need to move it from place(old server) to another(new server).

Exporting Your Blog Database From The Old Server

  1. You need to download your blog database from the old server.
  2. Login to the control panel in your old web hosting account
  3. Go to phpMyAdmin

WordPress_Database

4. Click on the targeted database so that you can see the name of the database and the contents of it.

Move_WordPress_DataBase

Move_WordPress_DataBase_1

5. Go to “Export” option where you can highlight all the contents of the database.

Move_WordPress_DataBase_2

6. Select the option that says “Save as file”, and do not forget to give it an appropriate name

Move_WordPress_DataBase_37. Press “Save” to save it to a safe place in your computer

Move_WordPress_DataBase_4

Importing Your Blog Database To The New Server:

Creating a Blank Database at the new Server

To start off, you need to create a blank Database at the new server, and then upload the saved database to your new server.

  1. Login to the cPanel at the new server
  2. Go to “MySQL Databases”
  3. You need to give the database a proper name

Move_WordPress_DataBase_5

4. Once you created the database, ask yourself who will use it, and how?

Move_WordPress_DataBase_6

5. Create a new user; enter the new user credentials (name and password) and press “Create user”

Move_WordPress_DataBase_7

Note: How the sever will know that user is a permissible user and can use your database? Of course, it is necessary to link the newly created database with certain user. To accomplish this, go to the next step.

6. Simply press the “Add” button, it is somewhere in the interface, choose the created database and the newly added user and press “add”.

Move_WordPress_DataBase_87. Managing user privileges: Definitely, select all the privileges so that the newly added user can get a full control of the database

Move_WordPress_DataBase_9sated a blank database and you are ready to import your blog contents to it.

Move_WordPress_DataBase_10

Importing the saved database to the blank Database at the new Server:

  1. Go to “phpMyAdmin”, then select the new database that it is completely blank

Move_WordPress_DataBase_11

Move_WordPress_DataBase_12

2. Select the “Import” option

Move_WordPress_DataBase_133. Be patient! The process may take some time depending on the size of your blog contents. You should get a notification that the importing process is successfully done.

Changing The Upload Path:

Move_WordPress_DataBase_14

As long as you are using the same domain, everything will remain the same even your wordpress login details, however there is still a one option you need to change; it is the “Upload path”; you need to inform WordPress  where to save the uploaded images.

  1. Go to your new database and select the “Option” folder from the table of contents

Move_WordPress_DataBase_152. Browse to the “upload_path” option

Move_WordPress_DataBase_16

3. Your hosting company provided you with a username for your domain name, simply, edit the load path by replacing the old username of the old server with the new one

Move_WordPress_DataBase_17

Move_WordPress_DataBase_18

This is all about how to move WordPress Database to a New Server if you will use the same domain.

Mini

Mark Wilston who is the Sr. eMarketing Professional at PixelCrayons is the author of this post.Post contributed by PixelCrayons, Follow on
Twitter

0 0 votes
Article Rating

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x