1. Knowledge Base
  2. >
  3. Results
  4. >
  5. Article

WordPress: How to Update Database Connection Strings

  1. Log into your account Hosting Summary.
    Domains Tab
  2. On the left pane, click MySQL Management.
    MySQL Management
  3. Here, you can see a list of databases that you've created. To view the details of a particular database, click the Manage link adjacent to it.
    Database list
  4. From the Database Details screen, you can view the following: 
a. DataBase Name
b. Server Name
c. Username
Database details


How to Update Database Connection Strings

Important: Make sure that you preserve spaces and other coding characters when modifying your connection strings.

  1. Log in to your account Hosting Summary.
    Domains Tab
  2. Go to File Manager.
    Filemanager
  3. On the left pane of your File Manager. Select the WordPress folder of the website that you want to update.
    Select the WordPress folder
  4. Locate your website's wp-config.php, then click on the three-dot menu and select Edit.
    Locate your website's wp-config.php
  5. Locate the following lines of code:
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'database_name');

/** MySQL database username */
define('DB_USER', 'database_username');

/** MySQL database password */
define('DB_PASSWORD', 'DatabasePassword');

/** MySQL hostname */
define('DB_HOST', 'database.hostname');
Change the values in bold to match your database settings.

6. Click the Save button.
Save button

Want to learn more about WordPress

WordPress: Tutorial Videos To help you easily grasp the basics of creating a WordPress website, you have created several free tutorial videos. These videos were designed to be followed in order, but you are welcome to view whichever one best suits your needs.

You can always check out WordPress.org and browse their codex or online help forums. You may also contact us for technical assistance. 


Related Articles

WordPress: How to Install
How to Update PHP for WordPress
WordPress: How to Keep WordPress Up-to-Date
How to Access Your WordPress Dashboard
WordPress: SSL Certificates

Chat
Close