MySQL / MariaDB
Introduction
According to Wikipedia, MySQL is a kind of database:
MySQL (/ˌmaɪˌɛsˌkjuːˈɛl/)^5 is an open-source relational database management system (RDBMS).^5^6 Its name is a combination of "My", the name of co-founder Michael Widenius's daughter My,^7 and "SQL", the acronym for Structured Query Language.
Data Types
Data Type Categories
MySQL supports SQL data types in several categories MySQL Reference:
- Numeric Types
- Date and Time Types
- String (Character and Byte) Types
- Spatial Types
- JSON Types
Numeric Types
INTEGER- A 4-byte signed integer.SMALLINT- A 2-byte signed integer.DECIMAL- A fixed-point number.NUMERIC- A synonym forDECIMAL.FLOAT- A floating-point number.REAL- A synonym forFLOAT.DOUBLE- A synonym forFLOAT.
Date and Time Types
DATE- A date inYYYY-MM-DDformat.TIME- A time inHH:MM:SSformat.DATETIME- A date and time inYYYY-MM-DD HH:MM:SSformat.YEAR- A year inYYYYorYYformat.
String Types
The string types are:
CHAR- A fixed-length string.VARCHAR- A variable-length string.BINARY- A fixed-length binary string.VARBINARY- A variable-length binary string.BLOB- A binary large object.TEXT- A text large object.ENUM- A string object that has only one value from a predefined list of values.SET- A string object that can have 0 or more values from a predefined list of values.
MySQL Clients
PHPMyAdmin
PHPMyAdmin is a web-based MySQL client. You can do most of the things you can do with the MySQL command line client, but in a web browser based GUI.
References
Web Links
- MySQL (from Wikipedia, the free encyclopedia)
- "What is MySQL?". MySQL 8.0 Reference Manual. Oracle Corporation.
- "DB-Engines Ranking of Relational DBMS". DB-Engines. solidIT consulting & software development GmbH. Retrieved 2020-04-03.
- "History of MySQL". MySQL 8.0 Reference Manual. Oracle Corporation. Retrieved 2020-04-03. MySQL is named after co-founder Monty Widenius's daughter
- "Chapter 11 Data Types". MySQL 8.0 Reference Manual. Oracle Corporation. Retrieved 2020-04-03.
Note Links
- Types of Databases
- Relational Databases
- Structured Query Language (SQL)
- Free and Open Source Software (FOSS)
- PHPMyAdmin (MySQL Client)