Skip to content
UK web hosting, domain names, email, website security and online services.

Create a MariaDB database and user Print

  • database, hosting, mariadb
  • 0

Create the database and user separately, then grant only the permissions that the application needs.

Applies to: MariaDB databases in SiteWorx

Create the database

  1. Sign in to SiteWorx.
  2. Open Hosting Features > MySQL > Databases.
  3. Select Add a Database or the plus button.
  4. Enter a short descriptive database name and save it.
  5. Copy the complete database name shown by SiteWorx; it may include the SiteWorx account prefix.

Create and assign the user

  1. Open Hosting Features > MySQL > Users.
  2. Add a MySQL user with a strong, unique password.
  3. Return to MySQL > Databases.
  4. Select the user/permissions control beside the database.
  5. Choose the user and grant only the permissions required. Normal application installation often needs all privileges for its own database, but not access to other databases.
  6. For an application hosted in the same SiteWorx account, use a local connection host such as localhost unless its documentation or Tudor Internet says otherwise.
  7. Save and store the credentials in the application’s protected configuration or secret store.

Common problems

SymptomLikely causeWhat to do
The application says access denied.The complete prefixed username/database name, password, host or permissions are wrong.Copy the exact values from SiteWorx and confirm the user is assigned to that database.
The database or user limit is reached.The hosting plan allowance is already allocated.Remove only unused items after backup or upgrade the service.

Related articles

Last reviewed: 2026-07-25.


Was this answer helpful?

« Back