• 24x7 live wp Support

  • Abigail December 24, 2017

    Migrate WordPress Database

    1. Export the WordPress Database

    On your current hosting account, open the wp-config.php file. Located in this file is the name of the database that you need to export. Most cPanel based hosting accounts should provide a copy of PHPMyAdmin to access your database. You can use this to export the database as a .sql file.

    Note: If you don’t have access to PHPMyAdmin, you can use a plugin to export a backup of your database

    1. Create a New Database

    You are now going to create a new database for the WordPress install.

    In your cPanel: Navigate to the Database category and click MySQL Databases. Create a new database by typing in a name for it. This will be something like username_wp1, with ‘wp1’ being the name given to the database. Now create a user for the database. You will provide a password for the user, which is important to remember for a later step in configuring WordPress. Once you have created the user, you will need to assign it to the database. When you do this, give the user All Privileges

    1. Import into New Database

    Now that you have a database created, you are going to Import the .sql file you downloaded

    your cPanel: Navigate to the database category and click PHPMyAdmin. Choose your newly created database, from the left hand side of the page. Along the top of the screen, click the Import tab. Click the Browse button, and locate the file on your computer. Once you select the file, click Go to start the import.

    1. Update the WordPress Configuration File

    Now you need to make sure that your WordPress install is connected to the correct database. To do this,

    Open your File Manager and edit the wp-config.php file. You will need to type in the new database information: database name, database user, and the password. Once you have updated those, click Save Changes

    1. Fixing your Permalinks

    Log into your WordPress Dashboard, using the username and password from the copy of WordPress you brought over. Under Settings, click Permalinks. You don’t have to make any actual changes, just click the Save Changes button.

    Doing this will update all the page and post URLs. If you have custom themes or plugins/widgets with old URLs, you will have to update those manually since there are not any plugins that are able to modify those as well.

    Article Name
    How to migrate WordPress Database ?
    if you want to move old server to new server then you need to move migrate wordpress database to old server to new server.
    Publisher Name
    WordPress Support LLC

    Leave a comment.

    Your email address will not be published. Required fields are marked*

    error: Content is protected !!