MySQL and MariaDB databases
Databases are used by content management systems, online stores and other dynamic applications. The interface differs slightly between servers:
| DirectAdmin version | Where to find databases |
|---|---|
Newer version — for example srv1.webdom.sk and srv5 | Account Manager → Databases |
Older version — for example web1, web2, srv3 and web4 | On the dashboard use Databases → View More; the page is called MySQL Management |
Essential application settings
| Setting | Common value |
|---|---|
| Database server | localhost for an application on the same hosting account |
| Port | 3306 when required |
| Database name | full name including the account prefix |
| User | full database username including its prefix |
| Encoding | utf8mb4 for new applications |
The database password is not the DirectAdmin password. Do not include it in a support ticket or public repository.