MySQL: 2. Create a stack for your CI, once

This documentation is part of the GitHub Actions & GitLab CI guide. View the full guide here: Spin up a real MySQL service from your GitHub Actions or GitLab CI pipeline, run your tests against it, and tear it down automatically.

👋 Welcome to the Stackhero documentation!

Stackhero provides a fully managed MySQL cloud service that simplifies deployment and management for production workloads:

  • Unlimited connections and data transfers.
  • Integrated phpMyAdmin web interface for easy database management.
  • Hassle-free updates with one-click upgrades.
  • Consistent performance and strong security on a private, dedicated infrastructure.

With Stackhero, you can have a reliable MySQL database ready in just a few minutes. Spend less time on setup and maintenance, and more time building your applications. Try MySQL cloud hosting on Stackhero today.

Every run adds its own MySQL service to one stack that you keep for your CI. You only create it once, from your computer:

stackhero login
stackhero stack-create --name="CI"

You can also create it from your Stackhero dashboard. Runs can overlap safely: each one adds and deletes its own service, and the stack stays ready for the next run.