3.1 MYSQL
Introduction to MySQL:
- MySQL is one of the most popular Relational Database Management Systems (RDBMS).
- It is used to store, manage, and retrieve structured data in the form of tables with rows and columns. Rows are referred to as records, columns are referred to as fields.
- MySQL uses SQL (Structured Query Language) for querying and managing databases.
- It supports operations like creating, inserting, updating, deleting, and retrieving data.
- It is widely used in web applications, software, and data management systems.
Examples: Banking systems, e-commerce sites, student databases.
Features of MYSQL: -
- Open Source
- Relational Database Management System (RDBMS)
- Cross-Platform Support
- Follows Client-Server Architecture
- High Performance
- Scalability & Flexibility
- Security Features
- ACID properties
- Integration with programming languages
- Community and support
1) Open
Source: -
- MySQL is free to use under the GNU General Public License and open-source.
- The source code can be modified and redistributed.
2) Relational
Database Management System (RDBMS): -
- It stores data in tables (rows and columns).
- It supports relations between tables using primary keys and foreign keys.
3) Cross-Platform
Support: -
- It runs on multiple operating systems:
Windows,
Linux,
macOS,
Solaris and
many other operating systems.
4) Follows
Client-Server Architecture: -
- The database runs as a server.
- Applications like Python, PHP, and Java act as clients connecting to it.
5) High
Performance: -
- It handles large volumes of data efficiently.
- It uses indexing and optimized queries for speed.
6) Scalability
& Flexibility: -
- It is suitable for small applications and large enterprise systems.
- It can handle thousands of concurrent users, i.e, Multiple users can access and work on the database at the same time
7) Security
Features: -
- It provides user authentication, access control, and SSL encryption.
- It protects data from unauthorized access.
8) ACID
properties: -
- It ensures data reliability and integrity with:
Atomicity - All operations complete or
none.
Consistency - Database remains valid.
Isolation - Transactions don’t affect
each other.
Durability - Data is safe even after
system failure.
9) Integration
with Programming Languages: -
- It works with Python, Java, PHP, C, C++, etc, and commonly used in web development (e.g., with PHP in WordPress).
- It uses Stored Procedures, Triggers & Views
10) Community
& Support: -
- Large community, tutorials, and professional support available.