TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

MySQL

MySQL Architecture

Overview

This tutorial provides a high-level overview of MySQL architecture. MySQL RDBMS operates as a client/server architecture model.

The key components in the model are as follows:

  • MySQL Server
  • MySQL Client

MySQL Architecture

MySQL Server

MySQL server is the central software program that manages the database objects, data, etc. The MySQL Server(mysqld) listens on a specific network port for incoming connection requests from the clients. The clients can connect to the server to access or modify data in the database. The default port of the MySQL Server is 3306.

On Windows operating system, we can know the MySQL server version by the following command:

Change working directory to MYSQL HOME\bin directory.

> mysqld –version

 

MySQL Architecture Server

MySQL Client

MySQL clients are applications that sends requests to the database server. MySQL clients are software applications that connect to the server to access and manipulate the data in the database. In order for the clients to access data, the MySQL server must be running.

The client connects to the server, sends requests to the server. The server handles the requests and processes the requests. The client receives the response and disconnects from the server. MySQL Server can handle multiple database client connections at once.

MySQL clients can be

  • Local – local clients run on the same machine where the MySQL Server runs.
  • Remote – remote clients run on a different remote machine.

Remote clients connect to the MySQL Server using the TCP/IP network communication protocol. Local connections can use shared pipe, socket file(Unix) or TCP/IP.

https://www.testingdocs.com/mysql-command-line-client/

MySQL Server and Client

The MySQL Server process is started by default during the MySQL installation. We can also opt to create a Windows service during the standard installation. A MySQL client can establish a connection to the MySQL server to interact with the database. We can use the client to send SQL queries to the server. The server responds with the query results to the client.

Some of the things we can perform are as follows:

  • Create database
  • show database structure
  • Create tables
  • Create Views
  • Insert and retrieve data
  • Update data
  • Delete data
  • Drop tables
  • Drop databases
  • Create indexes
  • Perform Backup and Restore
  • etc.

—

MySQL Tutorials

MySQL Tutorials on this website:

https://www.testingdocs.com/mysql-tutorials-for-beginners/

For more information on MySQL Database:

https://www.mysql.com/

Related Posts

DataGrip Desktop Shortcut

MySQL /

Launch DataGrip on Windows

DataGrip Download

MySQL /

Install DataGrip IDE on Windows 11

MySQL Workbench Windows 11

MySQL /

New MySQL Connection in Workbench

MySQL Command-line Client

MySQL /

Command-Line MySQL Client

Start MySQL Client

MySQL /

Start MySQL Client on Windows 11

‹ MySQL SUBSTRING_INDEX Function› MySQL SUBSTRING Function

Recent Posts

  • MS Access Data Types
  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Build & Run CLion Project
  • Create New CLion C Project on Windows
  • Configure CLion Toolchains on Windows
  • Launch CLion IDE on Windows
  • Activate CLion IDE
  • CLion IDE for C/C++ Development

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com

Go to mobile version