Skip to content

Manage MySQL databases ​

Create a new MySQL database ​

Under Services > MySQL:

  1. Pick a label for the database that describes its usage, for example production-db
  2. Click Create database.
The form to create a MySQL database above the list of existing databases

The database is listed below the form. Click its label or View to find its credentials.

Connecting to a MySQL database ​

Under Services > MySQL, click the label of a database to see its credentials in the Overview tab.

MySQL databases can't be reached from the internet, so connect through an SSH tunnel using your SSH Keys. The Overview tab also has the command line instructions and a complete connection URL for your database client, with all values filled in.

The credentials of a MySQL database and the commands to connect via SSH tunnel

Update an existing MySQL database label ​

Under Services > MySQL:

  1. Select the database by clicking on its current label
  2. Navigate to the Settings tab and locate the "Database label" section
  3. Pick a new label for the database that describes its usage, for example production-db
  4. Click Update database.

Resetting MySQL database credentials ​

Under Services > MySQL:

  1. Select the database by clicking on its current label
  2. Navigate to the Settings tab and locate the "Reset credentials" section
  3. Click Reset.

You can find the new credentials in the "Overview" tab.

Delete an existing MySQL database ​

Under Services > MySQL:

  1. Select the database by clicking on its current label
  2. Navigate to the Settings tab and locate the "Delete database" section
  3. Click Delete.

Backups of the database are removed after their expiry date.

INFO

While a database isn't available, these actions are disabled.