Skip to content

Create a MySQL database and user on OrbixPanel

Most apps need a database and a user that can access it. OrbixPanel creates both in a few clicks.

Create the database

  1. Open the Databases area in the panel.
  2. Create a database and give it a name (e.g. myapp).
  3. Create a database user with a strong password.
  4. Grant that user access to the database.

That’s the standard trio every app expects: a database name, a username, and a password.

Your connection details

With MySQL/MariaDB on OrbixPanel, apps on the same server connect over localhost:

SettingValue
Host127.0.0.1 (or localhost)
Port3306
Databasethe name you chose
Username / Passwordthe user you created

Database users are created for localhost access — your app and the database live on the same server, so the port never needs to be exposed to the internet. That’s a security feature, not a limitation.

Use it in your app

Put these values in your app’s config as environment variables, never hard-coded. See Connect your app to a database for per-framework examples.

Manage tables & data

For creating tables, running queries, or importing a .sql file, open phpMyAdmin from the panel — see Import & export a MySQL database.

Tip: use a separate database + user per app. If one app is compromised, the blast radius stays contained to its own data.


Running OrbixPanel? Databases and users are a few clicks away. OrbixPanel.com → — the free, self-hosted, AI-powered hosting control panel.