Help & documentation
Guides, references and troubleshooting for TDesk.

Databases

Create and manage MySQL and PostgreSQL databases from the panel.

Creating a database

  1. Go to Databases
  2. Click Add database
  3. Pick MySQL or PostgreSQL
  4. Enter a database name and username
  5. Set a strong password (or let the panel generate one)

Connection from your site

From inside your site's PHP code, use these connection settings:

Host: localhost (or 127.0.0.1)
Port: 3306 (MySQL) or 5432 (PostgreSQL)
Database name, user, password: as you created them

phpMyAdmin and Adminer

Each database has a "Manage" button that opens phpMyAdmin (MySQL) or Adminer (PostgreSQL) signed in as the database user. Browse tables, run queries, import/export SQL dumps.

Backups

Databases are backed up nightly with the rest of your data. You can also manually export a SQL dump from the Database detail page at any time.