Community Developed fork of MySQL server in Open Source Cloud
The open source project MariaDB is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry.
This tutorial walks you through how to setup a MariaDB server in Open Source Cloud.
What is Open Source Cloud?
We developed and launched Open Source Cloud to reduce the barrier to get started with open source and in the same time contribute to a sustainable model for open source by giving back a share of the revenue to the creator.
Tutorial
If you have not already done so, sign up for an OSC account here.
Step 1: Setup secrets
Create a service secret for the database root password.
rootpassword=guide
The root password to just serve as an example.
Step 2: Create database server
Click on the button “Create dbserver” in the web user interface. Then enter the following values in the create dbserver dialog.
Press the button Create and wait for the instance to be in status Running.
Step 3: Connect to database
Obtain the IP and port on the service instance card.
In this case we have IP 172.232.131.169
and port 10504
To test a connection launch the mysql client with the following options:
% mysql -h 172.232.131.169 -P 10504 -p
Enter password: guide
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 5.5.5-10.11.8-MariaDB-log Alpine Linux
Copyright (c) 2000, 2024, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
Now you have a MySQL compatible database up and running.
Explore more open source available as a service at www.osaas.io