MySQL Service
MySQL is an open-source relational database management system that is widely used by developers to store, organize, and retrieve data for web applications. It supports a variety of data types and offers various operations for manipulating data, such as querying, inserting, updating, and deleting records.
Manage the MySQL Service
Hubble Studio enables the MySQL service for specific templates, allowing you to easily incorporate MySQL into your projects. When creating a new project, you can select the appropriate template that includes MySQL, and Hubble Studio will automatically configure and deploy MySQL for the project. Once deployed, you can access MySQL through the appropriate endpoint and port provided by Hubble Studio.
If you want to enable/disable the MySQL service after creating your project, please contact support!
Create a new MySQL database
You can create a new MySQL database for your project under Services > MySQL in just two easy steps:
- Pick a label for the database that describes its usage, for example
production-db
- Click Create database.
A new MySQL database will be created for you. You can find the credentials to connect to your new database in the list of databases below the creation form.
Connecting to a MySQL database
To connect to your MySQL database, you will need to get the credentials for the specific database. Under Services > MySQL you will find every MySQL database you created, listed with the correct credentials to connect to them.
Keep in mind that you can't connect to your MySQL databases from the outside internet, you will need to be connected via SSH!
Update an existing MySQL database
At the moment you can't update existing databases!
If you need to rename a database, please contact support!
Delete an existing MySQL database
At the moment you can't delete existing databases!
If you need to delete a database, please contact support!