Question

how do I find the database name

Connected Tutorial
This question is a follow-up to this tutorial:

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?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hello,

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:

https://docs.digitalocean.com/products/droplets/how-to/connect-with-ssh/

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

https://docs.digitalocean.com/products/droplets/how-to/transfer-files/

Let me know how it goes. Best, Bobby