How to know which database my Wordpress uses

How to know which database my WordPress uses

If you want to know which database your WordPress website is using, there are several ways to do it. Below, we provide a step-by-step guide to identify your WordPress site's database from the wp-config.php file of your WordPress:
 
The wp-config.php file is an important file in the WordPress installation, as it contains critical information about the database connection, as well as other configuration details. This file is usually located in the root of the WordPress installation. Access this file via FTP. We recommend doing it from webFTP.
 
Step-by-step guide to access with webFTP
 
Once you are inside your hosting files, you must look for the folder /web, which contains all the WordPress installation files.
 
Inside /web you will find the wp-config.php file. You must click on "Edit" to view the data contained in the file:


Next, the entire code of this file will open. Below, we show where the name of the database associated with that WordPress appears. It is possible that if you have made changes to this file, the structure may look different, but the line used to identify the database should be the same:


From there, you can see the name of the database and even the MySQL username and password configured in your WordPress.
 
 
For more information, you can  contact us .