# Files, SSH, SFTP and databases

> Edit server files, access your service securely and use included MySQL databases.

## Files

Open **Server → Files** to upload, download, rename and edit files. `Worlds` contains saves, `Mods` contains `.tmod` files and `enabled.json`, and `ModConfigs` contains mod settings. `runtime` is the installed server software. Stop before replacing worlds or mods, and back up before major changes.

## SSH / SFTP

Open **Server → SSH / SFTP** to see the host, assigned port, username and password. Use the displayed port; it is not necessarily 22 and is different from the game port. Connect using an SFTP client or the displayed SSH command. Your server files are in the `server` directory inside your SSH home directory (the dashboard shows the full path). File access is scoped to your service and uses the same storage as Files. Rotate the password if it is exposed and update saved client credentials. This access is not root access to the hosting node.

## MySQL databases

Every Terraria tier includes three MySQL databases. Vanilla Terraria and ordinary tModLoader worlds save to files and do not require MySQL. Databases are for compatible extensions and companion tools.

Use **Server → Databases** to create a database and user, manage permissions, reset passwords and remove resources. Use only the connection details shown in the dashboard. Deleting a database removes its data; keep an export or backup first. These controls have the same plan limits and ownership checks as Minecraft hosting.

Open **Database editor** to sign into phpMyAdmin with the MySQL username and password created in the Users tab. These credentials are separate from SSH/SFTP credentials. From programs running in your server or SSH container, use `mysql` on port `3306`. Development does not expose a public MySQL port or enable SSH port forwarding; use the browser editor for access from your computer.
