#MySQL

Ubuntu Linux 5 min read
Migrate MySQL to MariaDB on Ubuntu 24.04

The article outlines the process of migrating from MySQL to MariaDB on Ubuntu 24.04. It emphasizes the importance of backing up databases, checking compatibility, uninstalling MySQL, installing MariaDB, and restoring backups. Following these steps ensures a smooth transition, allowing users to benefit from MariaDB’s additional features and optimizations.

March 21, 2025 Read more →
Ubuntu Linux 3 min read
Backup and Restore MySQL database with mysqldump

This article outlines the process of backing up and restoring MySQL databases using the mysqldump tool on Ubuntu 24.04. It details commands for backing up all databases or specific ones, advises on using table locking or transactions for data integrity, and emphasizes regular backups, effective monitoring, and testing restore processes to prevent data loss.

February 23, 2025 Read more →
Ubuntu Linux 5 min read
Secure MySQL with Self-Signed SSL Certificate on Ubuntu 24.04

This article discusses the implementation of MySQL self-signed SSL certificates on Ubuntu 24.04 to enhance database security. It covers generating certificates, configuring SSL connections, and enforcing SSL usage for users. Key points include improved encryption, automatic SSL configuration, user restrictions, and validation of SSL setups for a secure database environment.

February 21, 2025 Read more →
Ubuntu Linux 5 min read
How to Reset MySQL or MariaDB Root Password

This content provides a step-by-step guide to resetting or changing MySQL or MariaDB passwords on Ubuntu Linux. The tutorial addresses scenarios such as forgetting the root password in these databases and guides users through various command line instructions for password recovery, depending on the MySQL or MariaDB server's version being used. Additionally, it covers using the auth_socket plugin and explains how to restart the database servers after performing the necessary actions.

October 10, 2021 Read more →
Ubuntu Linux 6 min read
Install MySQL and MariaDB on Ubuntu: A Step-by-Step Guide

This guide provides detailed instructions on how to install MySQL or on Ubuntu Linux for students or new users. Both MySQL and MariaDB are open-source, multi-threaded relational database management systems, with MariaDB being a backward-compatible replacement for MySQL. The post outlines steps on installing default and latest versions, and securing MariaDB and MySQL databases. The MariaDB Foundation maintains MariaDB, while Oracle owns MySQL. The servers are accessed through the auth_socket method.

September 15, 2021 Read more →
Ubuntu Linux 8 min read
How to Allow Remote Access to MySQL Database on Ubuntu Linux

This tutorial guides on setting up remote access to MySQL server on Ubuntu 18.04. The default configuration not allowing remote connections can be modified by changing bind-address value to 0.0.0.0, enabling MySQL to accept connections on all host interfaces. Individual IP addresses must be granted access explicitly. Firewall exceptions for the specific port need to be created if Ubuntu firewall is enabled. The setup is not recommended for production environments.

September 23, 2019 Read more →