Skip to content

Create a database and user

Add a MySQL database, create database users, and find the connection details your application needs.

What you can do

  • Create MySQL databases for a website
  • Create database users and choose which databases each can access
  • See the connection details (socket, host) for each database
  • Delete databases and users

What you cannot do

  • Choose the full database or user name freely. The panel adds a prefix based on your website, for example site_a1_ (Not available in the panel.)
  • Use spaces or symbols in a database name. Letters, numbers and underscores only (Not available in the panel.)
  • Create more databases than your package allows (Depends on your package.) Instead: delete an unused database or ask your hosting provider to raise the limit.
  • Create PostgreSQL databases unless your package includes them (Depends on your package.)
  • Get root or server-wide database access (Only your hosting provider can do this.)

Depends on your package

  • How many MySQL databases you can have. Database users are not limited
  • Whether PostgreSQL is available
  1. Open the website and select the Databases tab.
  2. Select Add database. The window shows your usage, for example “2 of 10 databases used”.
  3. Enter the Database name. The prefix shown before the box is added automatically.
  4. Under Add database user, either tick an existing user to give it access, or select Create new user and enter a username and password.
  5. Select Add.

If Add is disabled and the window shows, for example, “1 of 1 databases used”, you have reached your package’s limit.

  1. On the Databases tab select Add user.
  2. Enter a Username (the prefix is added for you) and a Password.
  3. Under Database access, tick the databases the user may use.
  4. Select Add.

Passwords must have at least 10 characters with a lowercase letter, an uppercase letter, a number and a special character.

Open the database’s menu and select Manage. Connection info shows two ways to connect:

Method Setting Use it when
Unix socket /run/mysqld/mysqld.sock The website and database are on the same server. This is the simplest and most reliable
TCP The IP address shown in the panel Your application needs a host and port

For PHP applications such as WordPress, set the database host to localhost. PHP finds the socket automatically.

Your application also needs:

  • Database name: the full name including the prefix.
  • Username: the full username including the prefix.
  • Password: the one you set for that user.

The Users tab on the Databases page lists every database user and the databases each can reach. On a database’s Manage page, Users shows who has access and with which privileges.

A user ending in _phpma is created automatically so that the panel can sign you in to phpMyAdmin. Leave it in place.

Open the row menu and select Delete. The panel warns that a website relying on the database may show an error. Deleting cannot be undone except by restoring a backup.

Checked against Enhance 12.28.0 on 2026-12-01: tested directly in the panel.