MariaDB
Version: 10.6.12 | OS: Ubuntu 22.04
Overview
MariaDB is a robust, open-source, multithreaded relational database engine. Designed for scalability, it can handle everything from small embedded systems to large-scale enterprise applications with billions of rows and thousands of tables.
Included Software
- MariaDB - 10.6.12
Firewall & Access
| Port | Service | Purpose |
|---|---|---|
| 22 | SSH (rate limited) | Secure server access |
| 3306 | MariaDB | Database access |
Initial Deployment
During the deployment process:
- MariaDB is automatically installed and configured
- Root password is set
mysql_secure_installationis executed
You will be logged out with the message:
Please wait until the installation is completed....
Connection to $IPADDRESS closed.
Wait at least 2 minutes before logging back in.
Accessing the Instance
- Login to your instance:
ssh ubuntu@$IPADDRESS
- Switch to root:
sudo su -
Accessing MariaDB
- The MariaDB root password is stored in:
/root/.mariadb_root_password
- Login using the command:
mysql
Note: The
rootuser uses unix_socket authentication and does not require a password by default.
Best Practices
- Allow database access only to trusted IPs via firewall rules
- Regularly update the system and database packages
- Periodically back up your data using
mysqldumpor replication - Monitor logs located at
/var/log/mysql/ - Use secure authentication and consider disabling remote root login
For assistance, contact Webberstop Cloud Support.