ServerAvatarDocs
Databases

Databases

Find the databases on your servers, see which engine, application and users each one has, and know who may change them.

A server holds database engines (such as MySQL or PostgreSQL). An engine holds databases, and each database has users that can sign in to it. Central shows all three for every server you can open. The data stays on the server: Central reads and changes it through the server's panel.

There are two places to look:

  • Databases in the main sidebar lists the databases on all the Ready servers of the selected organization.
  • Databases in a server's own sidebar, under Data, lists one server's databases. It also holds the engines and the tools for them. The sidebar item shows only for stacks that have databases and only if your role may view them.

See the databases of an organization

  1. Select Databases in the main sidebar. The heading is Databases with the line "Databases in this organization." A summary line says how many databases there are, their total size and how many servers they are on.

    The organization's Databases list with the search box, the Server, Engine and Application filters, the Create database button and one row per database

  2. Narrow the list if you need to:

    • Search database names matches names.
    • Server picks one server (All servers).
    • Engine picks one engine (All engines).
    • Application shows All databases, only those Linked to an application, or only those that are Not linked.
  3. Select a name to open the database. Each row has Name, Server, Engine, Application, Size and Users. Sort a column from its heading.

  4. Open a row's ⋯ menu (Actions for name) for Manage users, Open in phpMyAdmin or Open in Adminer (when the server has the tool) and, if you may manage databases, Delete.

Only Ready servers are listed. The page tells you when a server is left out:

  • "n servers aren't ready yet, so their databases aren't listed."
  • "Some servers didn't answer: names. Their databases aren't listed."
  • "Showing the first 100 databases of each server, from the first 25 servers. Search to find others."

An organization with no databases shows "No databases yet": "Create a database on one of your servers." Without a Ready server the Create database button is disabled with "Add a ready server first."

See the databases of one server

  1. Open the server, then Databases under Data. The heading is Databases: "Create databases and manage who can connect to them."

  2. The bar at the top shows the engines on the server and Engine tools. See Database engines.

    One server's Databases screen with the MySQL engine, the Engine tools menu, the search box, the Engine filter, Adopt existing and Create database

  3. Below it is the list. Search with Search databases and filter with Engine. Click Name, Engine, Size or Users to sort: once for ascending, again for descending, a third time to go back to the default order. The page size is 10, 20, 30, 50 or 100.

The columns are Name, Engine, Application, Size, Users, Last export (a date, or Never) and Actions. The Application column links to the application, or says Not linked. If you may manage databases, Not linked opens the dialog that links one (see Application databases).

A row's ⋯ menu (Actions for name) has Open, Open in phpMyAdmin or Open in Adminer when the server has the tool, and Delete.

The toolbar has the refresh button, Adopt existing and Create database. See Databases and users.

When there is nothing to show

  • No database engine yet. "A database engine, such as MariaDB or PostgreSQL, has to be installed before this server can hold databases." While one installs it adds: "One is being installed now. This takes a few minutes; you can create databases once it is ready." A role that may only view adds: "Your role can't add one: ask someone who manages this server." Install one as described in Database engines.
  • No databases yet. "Create a database, or adopt one that already exists on this server."
  • No databases match. Clear the search and the Engine filter.
  • Docker servers don't manage databases. "This server runs applications in containers. An application that needs a database brings its own container." For databases inside Docker, see Docker.

Pages in this section

Who can do this

  • The permission is Databases (server.database), with View and Manage. Manage includes View, and both need the Server permission.
  • View shows the lists, the details, the tables, the exports and imports, and the health page. A view-only role sees "Your role can view databases but not change them." It does not get passwords: the connection details say "Hidden — your role can't manage databases."
  • Manage is needed for everything that changes something: create, adopt and delete databases, add and change users, export, import, link to an application, sign in to phpMyAdmin or Adminer, test the connection, set the root password, install an engine and stop a query.
  • In the role editor, Manage on Application also ticks Manage on Databases and on System Users. See Roles and permissions.
  • A Control Panel customer can create databases only up to the number the owner allowed. See Control Panel.

Common errors

  • The server cannot do this right now. Wait for the current task to finish and try again. The server is busy, for example installing an engine. Wait, then try again.
  • You have reached the number of databases you can create on this server. A Control Panel customer is at their limit. Ask the owner to raise it.
  • Choosing an application needs view access to Applications. Ask for View on Application.

On this page