In the previous post, I talked about RDBMS and how it solves the limitations of traditional DBMS.
But today, letβs step into the real-world tool that developers actually use π
π MySQL
MySQL is an open-source Relational Database Management System (RDBMS) that helps us store, manage, and retrieve structured data efficiently.
It was launched in 1995 by a Swedish company.
The name comes from:
- βMyβ β daughter of the co-founder
- βSQLβ β Structured Query Language
π In simple words:
MySQL = A system that stores data in tables and lets you interact using SQL.
πΉ Why MySQL?
- βοΈ Free & Open Source
- βοΈ Fast and Efficient
- βοΈ Secure (authentication + permissions)
- βοΈ Supports multiple users
- βοΈ Used in real-world applications
- βοΈ Less programming required
πΉ What makes it powerful?
π It uses SQL (Structured Query Language)
With SQL, you can:
- Create databases and tables
- Insert and update data
- Delete records
- Fetch data using queries
πΉ Tools developers use with MySQL
- π₯οΈ MySQL Workbench β GUI for writing queries
- β¨οΈ Command Line Client β direct interaction
- π Connectors β Java, Python, etc.
- βοΈ MySQL PL β functions & procedures
- π MySQL for Excel β data handling in sheets
- π MySQL Notifier β alerts & status
- πΎ MySQL Enterprise Backup β backup & recovery
- π MySQL Enterprise Manager β monitoring & performance
πΉ Types of SQL Commands
π SQL is divided into 4 main categories:
- π§± DDL (Data Definition Language)
β Create, Drop, Alter
- βοΈ DML (Data Manipulation Language)
β Insert, Update, Delete
- π DCL (Data Control Language)
β Grant, Revoke
- π DQL (Data Query Language)
β Select
πΉ Extra (Advanced Concepts)
β‘ TCL / DTL (Transaction Control Language)
β Commit, Rollback, Savepointβ‘ Additional commands
β Rename, Truncate
πΉ Naming Rules (Important)
- Oracle β Max 30 characters
MySQL β Max 64 characters
Allowed β AβZ, aβz, 0β9
Must start with a letter
Special characters like
$,#allowed
π‘ In MySQL, reserved characters (like #) can be used with backticks
π In the next post, weβll dive into MySQL Data Types π
Top comments (0)