MariaDB: MariaDB URLs

This documentation is part of the Getting started guide. You can view the complete guide here: How to get started with MariaDB.

👋 Welcome to the Stackhero documentation

Stackhero offers a ready-to-use MariaDB cloud solution with a range of benefits, including:

  • Unlimited connections and data transfers.
  • Built-in phpMyAdmin web interface.
  • One-click updates for simplified maintenance.
  • Optimal performance and enhanced security thanks to private, dedicated infrastructure.

Save time and make your life easier: it only takes 5 minutes to try Stackhero's MariaDB cloud hosting solution!

The simplest way to connect to your MariaDB service is to use the MySQL URL format, provided your driver supports it:

mysql://root:<ROOT_PASSWORD>@<XXXXXX>.stackhero-network.com:<PORT>/root?useSSL=true&requireSSL=true

If you are using Ruby, the MySQL URL is slightly different:

mysql2://root:<ROOT_PASSWORD>@<XXXXXX>.stackhero-network.com:<PORT>/root?reconnect=true&useSSL=true&requireSSL=true