Report this

What is the reason for this report?

how do I find the database name

Posted on October 14, 2021

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

How To Use the WordPress One-Click Install on DigitalOcean

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?



This textbox defaults to using Markdown to format your 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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.