MySQL: A Comprehensive Explanation

In this article, we'll share a comprehensive explanation about MySQL, a beginners guide to database management system (RDBMS)

By Claudio Pires
Updated on December 7, 2023
MySQL: A Comprehensive Explanation

MySQL is a freely available open-source Relational Database Management System (RDBMS) that uses Structured Query Language (SQL). In this article, we’ll share a comprehensive explanation about MySQL, a beginners guide to relational database management system (RDBMS).

Firstly, you have to know how to pronounce it: MY-ES-KYOO-EL’ [mˌɛsˌkjˈɛl]. Sometimes people call it “my sequel” or other names, but at least you know the official pronunciation. A Swedish company called MySQL AB originally developed MySQL in 1994.

The US tech company Sun Microsystems then took full ownership when they bought MySQL AB in 2008. US tech giant Oracle in 2010 acquired Sun Microsystems itself, and MySQL has been practically owned by Oracle since.

In regard to the general definition, MySQL is an open-source relational database management system (RDBMS) with a client-server model. RDBMS is a software or service used to create and manage databases based on a relational model. Now, let’s take a closer look at each term:

Open-Source

Open source means that you’re free to use and modify it. Anybody can install the software. You can also learn and customize the source code to better accommodate your needs. However, the GPL (GNU Public License) determines what you can do depending on conditions.

The commercially licensed version is available if you need more flexible ownership and advanced support. Check a comprehensive explanation about MySQL, a beginners guide to relational database management system (RDBMS).

MySQL Database Explanation

A database is simply a collection of structured data. Think of taking a selfie: you push a button and capture an image of yourself. Your photo is data, and your phone’s gallery is the database. A database is a place in which data is stored and organized.

The word “relational” means that the data stored in the dataset is organized as tables. Every table relates in some ways. If the software doesn’t support the relational data model, just call it DBMS.

Server Modo

Computers that install and run RDBMS software are called clients. Whenever they need to access data, they connect to the RDBMS server. That’s the “client-server” part.

MySQL is one of many RDBMS software options. RDBMS and MySQL are often thought to be the same because of MySQL’s popularity.

To name a few big web applications like Facebook, Twitter, YouTube, Google, and Yahoo! all use MySQL for data storage purposes. Even though it was initially created for limited usage, now it’s compatible with many important computing platforms like Linux, macOS, Microsoft Windows, and Ubuntu.

SQL Comprehensive Explanation (MySQL)

MySQL and SQL are not the same. Be aware that MySQL is one of the most popular RDBMS software’s brand names, which implements a client-server model. So, how do the client and server communicate in an RDBMS environment?

They use a domain-specific language – Structured Query Language (SQL). If you ever encounter other names that have SQL in them, like PostgreSQL and Microsoft SQL server, they are most likely brands which also use SQL syntax. RDBMS software is often add in other programming languages, however, they always use SQL as their primary language to interact with the database. MySQL itself is written in C and C++.

Computer scientist Ted Codd developed SQL in the early 1970s with an IBM-based relational model. It became more widely used in 1974 and quickly replaced similar, then-outdated languages, ISAM and VISAM.

History aside, SQL tells the server what to do with the data. It is similar to your WordPress password or code. You input it into the system to gain access to the dashboard area. In this case, SQL statements can instruct the server to perform certain operations:

  • Firstly, data query: requesting specific information from the existing database.
  • Secondly, manipulation: adding, deleting, changing, sorting, and other operations to modify the data, the values or the visuals.
  • Identity: defining data types, e.g. changing numerical data to integers. This also includes defining a schema or the relationship of each table in the database
  • Finally, data access control: providing security techniques to protect data, this includes deciding who can view or use any information stored in the database

How Does It Work?

The image explains the basic structure of the client-server structure. One or more devices (clients) connect to a server through a specific network.

Every client can make a request from the graphical user interface (GUI) on their screens, and the server will produce the desired output, as long as both ends understand the instruction. Without getting too technical, the main processes taking place in a MySQL environment are the same, which are:

  • MySQL creates a database for storing and manipulating data, defining the relationship of each table.
  • Clients can make requests by typing specific SQL statements on MySQL.
  • The server application will respond with the requested information and it will appear on the clients’ side.

That’s pretty much it. From the client’s side, they usually emphasize which MySQL GUI to use. The lighter and more user-friendly the GUI is, the faster and easier their data management activities will be. Some popular MySQL GUIs are MySQL WorkBench, SequelPro, DBVisualizer, and the Navicat DB Admin Tool.

Some are free, some are commercial, some run exclusively for macOS, and some are compatible with major operating systems. Clients should choose the GUI depending on their needs. The most apparent go-to for web database management, including a WordPress site is phpMyAdmin.

MySQL Optimization Explanation

A wide array of cluster servers backs MySQL. Whether storing massive amounts of big e-commerce data or doing heavy business intelligence activities, MySQL can assist you smoothly with optimum speed. Comprehensive explanation about MySQL, a beginners guide to relational database management system (RDBMS).

Flexibility

You can modify the source code to meet your expectations and don’t need to pay anything for this level of freedom, including the options for upgrading to the advanced commercial version. The installation process is relatively simple and shouldn’t take longer than 30 minutes.

Popularity: MySQL Beginners Guide

MySQL is indeed not the only (R)DBMS on the market. Still, it is one of the most popular ones and only second to Oracle Database when scored using critical parameters like the number of mentions in search results, professional profiles on LinkedIn, and frequency of technical discussions on internet forums.

The fact that many major tech giants rely on it further solidifies the well-deserved position. Why so? Here are the reasons:

MySQL Standard For Applications Explanation

Finally, industries have been using MySQL for years, meaning there are abundant resources for skilled developers. MySQL users can expect the rapid development of the software, and freelance experts are willing to work for a smaller wage if they ever need them.

Claudio Pires

Claudio Pires is the co-founder of Visualmodo, a renowned company in web development and design. With over 15 years of experience, Claudio has honed his skills in content creation, web development support, and senior web designer. A trilingual expert fluent in English, Portuguese, and Spanish, he brings a global perspective to his work. Beyond his professional endeavors, Claudio is an active YouTuber, sharing his insights and expertise with a broader audience. Based in Brazil, Claudio continues to push the boundaries of web design and digital content, making him a pivotal figure in the industry.