MySQL is the world's most popular open-source relational database. It stores data in structured tables with rows and columns and uses SQL (Structured Query Language) to query and manipulate data.
# Install MySQL
sudo apt install mysql-server
mysql --version
# Connect
mysql -u root -p
mysql -u root -p mydb
mysql -h localhost -P 3306 -u user -p
# Basic commands
SHOW DATABASES;
USE mydb;
SHOW TABLES;
DESCRIBE users;