DEV Community

JJohnson45
JJohnson45

Posted on

MySql? What is it?

MySQL is an open source relational database management system (RDBMS) with a client-server model. RDBMS is a software used to create and manage databases. The application MySQL is used for a wide range of purposes, including data warehousing, e-commerce, and logging applications. It is most noted for its quick processing, proven reliability, ease and flexibility of use. MySQL is an essential part of almost every open source PHP application.

For example, WordPress requires MySQL to store and retrieve all of its data including post content, user profiles, and custom post types. Most web hosting providers already have MySQL installed on their web servers as it is widely used in many open source web applications such as WordPress.

The most common use for mySQL however, is for the purpose of a web database. It can be used to store anything from a single record of information to an entire inventory of available products for an online store.

Database
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 data stored in the dataset is organized as tables. Every table relates in some ways.

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.

Client-server model
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. 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
MySQL and SQL are not the same. Be aware that MySQL is one of the most popular RDBMS software’s brand name, which implements a client-server model. The client and server communicate in an RDBMS environment by using a domain specific language – Structured Query Language (SQL). RDBMS software is often written in other programming languages, but always use SQL as their primary language to interact with the database. MySQL itself is written in C and C++.

Ted Codd developed SQL in the early 1970s. It became more widely used in 1974 and quickly replaced ISAM and VISAM. 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:

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

Top comments (0)