Provisioning a Scalingo for MySQL® Shared Resources Database
You can provision a MySQL® Shared Resources database as an application add-on using the dashboard, CLI or Terraform Provider.
Provisioning
Using the Dashboard
- From your web browser, open your dashboard
- Click on the application to which you want to add the database
- Click on the Resources tab
- Locate the Addons block and click on the Add an addon button
- Select MySQL® in the databases block and confirm your choice
- Select the plan you want to provision and confirm your selection
- Review the addon configuration, then click the Provision addon button to confirm it and start provisioning
- Wait a few seconds for the database to be provisioned
Using the Command Line
- Make sure you have correctly setup the Scalingo command line tool
- From the command line, list the plans available for
mysql:scalingo addons-plans mysqlThe output should look like this:
+-----------------------+---------------+ | ID | NAME | +-----------------------+---------------+ | mysql-starter-512 | Starter 512M | | mysql-starter-1024 | Starter 1G | ... - Locate the
IDcorresponding to the plan you want to deploy (for examplemysql-starter-512) - Provision the addon:
scalingo --app my-app addons-add mysql <plan_ID>The output should look like this:
-----> Addon mysql has been provisionned ID: my_app_wxyz Message from addon provider: Database is being provisioned - Wait a few seconds for the addon to be provisioned and enjoy!
Using the Terraform Provider
- Place the following
resourceblock in your Terraform file to create the addon and attach it to your app:resource "scalingo_addon" "my-db" { provider_id = "mysql" plan = "mysql-starter-512" app = "${scalingo_app.my-app.id}" }In this example, we create a MySQL® Starter 512 addon named
my-dband attach it to an app namedmy-app(which must exist). We could have done the same with another plan. - Run
terraform planand check if the result looks good - If so, run
terraform apply - After a few seconds, your database is ready to use. Enjoy!
Accessing the Scalingo for MySQL® Dashboard
Every MySQL® addon comes with its dedicated dashboard, generally referred to as database dashboard, which is the central place for administrative tasks such as:
- Monitoring the database through logs, metrics and statistics
- Upgrading the database engine version
- Managing database users
- Using multiple databases
- Managing backups
You can access the database dashboard via the application dashboard:
- From your web browser, open your dashboard
- Open the Project containing the application to which your database is linked
- Click on the application name
- Click on the Overview tab
- Locate the Addons block and click on the Dashboard button next to the database you want to manage.
Last update: 15 Oct 2026
Suggest edits