MySQL

An open-source relational database, one of the most widely used in the world. Ideal for web applications, ERP, CMS, and any system requiring ACID transactions.

Version:

8.4.8

back to Marketplace

VM Requisites

Resource Minimum
CPU 2 vCPU
RAM 4 GB
Disk 40 GB
Operating System Ubuntu 22.04 / 24.04

Access Port

Port Protocol Usage
30306 TCP MySQL protocol

How To Access

With mysql client

# Connect as root user
mysql -h <VM_IP> -P 30306 -u root -p

# Connect as application user
mysql -h <VM_IP> -P 30306 -u <USERNAME> -p <DATABASE>

Connection string for applications

# Generic
mysql://<USERNAME>:<PASSWORD>@<VM_IP>:30306/<DATABASE>

Examples by language

# Python (pymysql)
import pymysql
conn = pymysql.connect( 
host="<VM_IP>", port=30306, 
user="<USER>", password="<PASSWORD>", db="<DATABASE>"
)
// Node.js (mysql2)
const connection = mysql.createConnection({ 
host: "<VM_IP>", port: 30306, 
user: "<USER>", password: "<PASSWORD>", database: "<DATABASE>"
});
// PHP (PDO)
$pdo = new PDO("mysql:host=<VM_IP>;port=30306;dbname=<DATABASE>", "<USER>", "<PASSWORD>");

Verify that MySQL is active

# View the MySQL pod
`kubectl get pods -A | grep mysql`

# View the installation log
`tail -f /var/log/cuemby/bootstrap.log`

# Verify that the port is listening
`ss -tlnp | grep 30306`

Expected output:

NAME                     READY   STATUS    RESTARTS
mysql-xxxxxxxxx-xxxxx    1/1     Running   0        ← Running ✓

Configuration Parameters

Parameter Default Description
MYSQL_ROOT_PASSWORD ⚠️ auto-generated Root user password. Full access to all databases.
MYSQL_PASSWORD ⚠️ auto-generated Application user password defined in MYSQL_USER.
MYSQL_USER cuemby Automatically created application user with permissions on MYSQL_DATABASE.
MYSQL_DATABASE app Database created automatically upon deployment.
MYSQL_DATA_SIZE 20Gi Persistent volume size for databases.

ℹ️ For everyday use, use the application user (MYSQL_USER), not root. The application user already has full permissions on MYSQL_DATABASE.

First Steps (quick start)

-- List databases
SHOW DATABASES;

- Use the application database
USE app;

- Create a table
CREATE TABLE users (
id INT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(100) NOT NULL,
email VARCHAR(150) UNIQUE NOT NULL,
created_in TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

- Insert a record
INSERT INTO users (name, email) VALUES ('Martin', 'martin@cuemby.com');

- Query
SELECT * FROM users;

Quick Troubleshooting

Problem Probable cause Solution
Access denied for user 'root' Incorrect password Review the deployment outputs in the Cuemby portal.
Can't connect to MySQL server MySQL still starting Wait ~3 min and check tail -f /var/log/cuemby/bootstrap.log.
Unknown database Database does not exist Conéctate como root y ejecuta CREATE DATABASE ;.
Host '' is not allowed User without remote access permissions Log in as root and run GRANT ALL ON *.* TO ''@'%';.
Pod in CrashLoopBackOff Insufficient disk space or RAM Check with kubectl describe pod -n .

Cuemby Cloud

IaaS

About Cuemby Cloud

Cuemby Cloud is enterprise-grade cloud infrastructure managed from a single console, built for stronger security, predictable operations, and easy scaling across regions.

Datacenters regions available in Colombia, Ecuador, and Chile

Backed by Tier III / Tier IV data center locations

Zero Network Ingress and Egress Fees

24/7 local expert support

Ready to Modernize Your Enterprise?

Future challenges demand future-ready solutions.
Let’s get started!

© Copyright | Cuemby® 2025