MySQL is the world's most popular open-source relational database management system (RDBMS). It powers the majority of web applications worldwide, including WordPress, Facebook, Netflix, and GitHub.
Full ACID transaction compliance, foreign key constraints, row-level locking, and crash recovery capabilities.
Seamless connectors for Node.js (mysql2/Prisma), PHP (PDO), Python (SQLAlchemy), and Java (JDBC/Hibernate).
Built-in read replicas, master-slave replication, clustering, and cloud managed services (AWS RDS, PlanetScale).
1# Connect to local instance (prompts for password)
2mysql -u root -p
3
4# Connect with specific host and port
5mysql -h 127.0.0.1 -P 3306 -u root -p my_database
6
7# Check status and databases
8SHOW DATABASES;
9USE my_database;
10SHOW TABLES;