Connecting Your WordPress Site to Xeround Cloud Database
Using Xeround to power your WordPress installation ensures high availability and scalability for your WordPress site.
Follow the below instructions to connect your WordPress site to use Xeround Cloud Database. Choose whether you are migrating an existing WordPress installation to use Xeround, or if you are installing a brand new WordPress site.
Migrating an existing WordPress Installation to use Xeround Cloud Database:
More often than not, you need to migrate an existing WordPress site deployment to a highly scalable architecture by leveraging on a database solution such as Xeround’s. To migrate your existing WordPress installation to use Xeround, follow the steps below:
Prerequisites:- First, you need to have the WordPress application installed on your chosen cloud environment (see WordPress installation instructions here.)
- You need to have a new DB instance created using Xeround’s service. This DB instance would be used to power your WordPress site.
- To create your new cloud database you need to register for Xeround, then choose “Create New” from your Database Manager Online Console. (detailed instructions on creating a new DB instance can be found here. )
Migrate your existing WordPress DB to Xeround:
(NOTE: during this step you’d probably want to stop updates to the site so that nothing gets lost in the migration. Alternatively, you can manually synchronize any changes once the migration is over.)
- Export your Existing WordPress MySQL database.
- Connect to your new cloud database using an external tool, such as phpMyAdmin (also available from your Xeround online console) and create your database / schema (e.g., wp_db).
mysql> CREATE DATABASE wp_db;
- Import your WordPress DB dump into your previously created Xeround DB instance.
Connect your WordPress installation to your Xeround DB Instance:This is done by updating your WordPress configuration file to with the connection details for your new Xeround cloud database.
- Locate the WordPress configuration file: it is usually named wp-config.php and it resides under the home directory of your WordPress deployment
- Open the file in a Text Editor (i.e. Notepad).
- In the configuration file, update the below database settings:
- Database Host:Look for the line that defines the DB_HOST parameter. If your database is on the same server as your WordPress installation than the default line looks like this:
define('DB_HOST', 'localhost');Replace the current value of DB_HOST (e.g. ‘localhost’) with your Xeround instance’s hostname and port, separated by a colon exactly as they appear in the Details tab in your database manager online console.

The result should look like the following:define('DB_HOST', 'ec2-174-129-253-124.compute-1.amazonaws.com:3060'); - Database Name: Look for the line that defines the defines the DB_NAME parameter, and replace its current value with the name you chose for your database when you created the database schema in step #3 above.
The result should look like this:define('DB_NAME', 'wp_db'); - Database Username: Look for the line that defines the defines the DB_USER parameter, and replace its current value with the username you chose for your database when you created your new instance (step #2 in the prerequisites above).
The result should look like this:define('DB_USER', 'put_your_username_here'); - Database Password: Look for the line that defines the defines the DB_PASSWORD parameter, and replace its current value with the password you chose for your database when you created your new instance (step #2 in the prerequisites above).
The result should look like this:define('DB_PASSWORD', 'put_your_password_here');(For further explanation on modifying the WordPress configuration file see here)
- Database Host:Look for the line that defines the DB_HOST parameter. If your database is on the same server as your WordPress installation than the default line looks like this:
- Save your changes and exit the editor
And You’re Done: Your WordPress site is now powered by Xeround!
If you have any further questions or need assistance, email us at support@xeround.com
Installing a new WordPress Site and configuring it to use Xeround Cloud Database:
Prerequisites:- You need to have a new DB instance created using Xeround’s service. This DB instance would be used to power your WordPress site.
- To create your new cloud database you need to register for Xeround, then choose “Create New” from your Database Manager Online Console. (Detailed instructions on creating a new DB instance can be found here.)
Configure your WordPress installation with your cloud database details:
- Install the WordPress application on your chosen cloud environment (see WordPress installation instructions here.)
- As part of the installation process – when you run the installation script, WordPress would look for the configuration file called wp-config.php.
- If WordPress can’t find the configuration file, it’ll offer to create it for you – approve by clicking the “Create a configuration File” button and the “Let’s go” button in the following screen.

- If WordPress can’t find the configuration file, it’ll offer to create it for you – approve by clicking the “Create a configuration File” button and the “Let’s go” button in the following screen.
- The next step of the installation wizard allows you to configure the database connection details, which would get updated in the wp-config.php file.

Update the below database details:- Database Name: give it a name
- User Name: the username you chose for your database when you created your Xeround DB instance (step #1 in the prerequisites above).
- Password: the password you chose for your database when you created your new instance (step #1 in the prerequisites above).
- Database Host: your Xeround instance’s hostname and port, separated by a colon exactly as they appear in the Details tab in your database manager online console.
Your hostname should look something like this:ec2-174-129-253-124.compute-1.amazonaws.com:3060

- Click “Submit” and then “Run the Install” to continue with your WordPress installation.
And You’re Done: Your WordPress site is now powered by Xeround!
If you have any further questions or need assistance, email us at support@xeround.com
- You need to have a new DB instance created using Xeround’s service. This DB instance would be used to power your WordPress site.


