how do I find the database name

Posted October 14, 2021 134 views
WordPressDigitalOcean 1-Click Apps Marketplace

I used the one click install for Wordpress. I want to use a local database client ‘table plus’ to access and manage the database. How do I find out the database name?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


The correct database name would be specified in your wp-config.php file.

With your favorite text editor, you need to open the /var/www/html/wp-config.php file and look for DB_NAME. On that line, you will see the name of your database.

In order to access your WordPress files you could either use SSH as described here:

Or if you prefer you could use SFTP as described here:

Let me know how it goes.