DEV Community

Shreyash Ogale
Shreyash Ogale

Posted on

Late Night Chronicles: #3 Diving into MYSQL

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)