Find database credentials

Updated October 7, 2026 · 2 min read

Look up the host, port, database name, user and password of a standalone database or a WordPress site's database, and connect to a standalone database from your computer.

On this page
  1. Step 1: Open the standalone databases list
  2. Step 2: Show the connection details
  3. Step 3: Copy the details
  4. Step 4: Connect from your computer through an SSH tunnel
  5. WordPress site databases

Before you start

  • For a standalone database: the owner or admin role in the account. Other roles can't reveal its password.
  • For a WordPress site's database: a role that can manage sites.
  • To connect from your computer: your SSH key on the server. See Add an SSH key.

Step 1 Open the standalone databases list

Open Databases. It lists the databases on all your servers, standalone ones and those of your WordPress sites. Type in the search field to find one by name, site or server.

Step 2 Show the connection details

Click Connection details in the database's row.

Each time someone reveals the password, Nuvlo records it in the activity log.

Step 3 Copy the details

The Connection details dialog lists:

FieldWhat it is
HostAlways 127.0.0.1: the database only listens on the server itself.
PortThe port the database uses on the server. It shows Waiting for assignment until the database has started.
DatabaseThe database name you chose.
UserThe dedicated user Nuvlo created for this database.
PasswordHidden at first. Click Show password to see it or Copy password to copy it.

Programs running on the same server connect with these values directly.

Step 4 Connect from your computer through an SSH tunnel

The database isn't reachable from the internet. To use a database tool on your computer, open an SSH tunnel first. The dialog shows the exact command for this database under SSH tunnel. It looks like this:

Example
ssh -N -L 25432:127.0.0.1:25432 root@203.0.113.10

Run it in a terminal on your computer and leave it running. The command signs in with the SSH key you added to the server. While the tunnel is open, connect your database tool to host 127.0.0.1, the same port, and the database, user and password from the dialog.

WordPress site databases

Every WordPress site has its own MariaDB database. You can see its credentials in two places:

  • On Databases, click Connection details in the site's row.
  • On the site's page, open the Files tab and click Show credentials in the Database card.

Both show the Host, Database, User and Password, with a button to show or hide and copy the password.

The host is a name on the site's private network, so only the site itself reaches it. To browse the tables, use the phpMyAdmin console. See Browse WordPress databases with phpMyAdmin.