Amazon's Early Black Friday Deals are going live now. Check out here.

How to Find Your WordPress Database Name

In this post, we will see the steps to find WordPress Database Name. Without further ado, let's look at the steps.

Find WordPress Database Name

Steps

  • angle-double-right
    Go to your cPanel.
  • angle-double-right
    Find and click "File Manager."
  • angle-double-right
    Go to "public_html" and then find "wp-config.php" file.
  • angle-double-right
    Once you find the file, right-click on it and then click on "View" option.
  • angle-double-right
    Now, find this line within the file:

define('DB_NAME', 'th_db1');

Your WordPress database name
  • angle-double-right
    The one that you see next to the 'DB_NAME' is your database name. In this instance, th_db1 is the WordPress database name.

Beneath the WordPress database name, you can also find the following pieces of information in the wp-config.php file:

MySQL Database Username

Find this line: define('DB_USER', 'th-db1');

The one that is next to the DB_USER is the MySQL database username. Here, it is th-db1.

MySQL Database Password

Find this line: define('DB_PASSWORD', 'thd00))');

The one that is next to the DB_PASSWORD is the MySQL database password. Here, it is thd00)).

WordPress Database Table Prefix

Find this line: $table_prefix = 'wp_';

The one that is on the right side is the table prefix. In this instance, wp_ is the WordPress database table prefix.

I hope that the information in this post is useful to you.

If you like the information in this post, share this post with your friends.

How to Find Your WordPress Database Name

Click to Tweet This Post

Also see: