Home Database Mysql Tutorial Introducing a simple database Database tutorial (3)

Introducing a simple database Database tutorial (3)

Apr 29, 2017 pm 05:37 PM

MySQL database

MySQL database is a C\S structured software, which is divided into: client and server.

If you want to access the server, you must go through the client; the server should be running all the time, and the client should be running when needed.

Interactive method

Client connection authentication, that is, connecting to the server, authenticating the identity mysql.exe -hPup

-h, host address, localhost for local, IP address for remote

-P, port number, used to find software

-u, username

-p, password

Send SQL command;

The server accepts SQL instructions, then processes the SQL instructions and returns the operation results;

The client accepts the results and displays the results;

Due to server concurrency limitations, the connection needs to be disconnected (three instructions , respectively: exit, quit and \q), release resources.

Server Object

Since there is no way to fully understand the internal structure of the server, we can only roughly analyze the internal structure of the database server.

Generally speaking, the internal objects of the MySQL database server are divided into four layers, namely: Data Management System (DBMS) –> Database (DB) –> Table (Table) –> Field ( Filed).

The above is the detailed content of Introducing a simple database Database tutorial (3). For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Leak reveals key specs of Intel Arrow Lake-U, -H, -HX and -S Leak reveals key specs of Intel Arrow Lake-U, -H, -HX and -S Jun 15, 2024 pm 09:49 PM

Leak reveals key specs of Intel Arrow Lake-U, -H, -HX and -S

In summer, you must try shooting a rainbow In summer, you must try shooting a rainbow Jul 21, 2024 pm 05:16 PM

In summer, you must try shooting a rainbow

Detailed tutorial on establishing a database connection using MySQLi in PHP Detailed tutorial on establishing a database connection using MySQLi in PHP Jun 04, 2024 pm 01:42 PM

Detailed tutorial on establishing a database connection using MySQLi in PHP

iOS 18 adds a new 'Recovered' album function to retrieve lost or damaged photos iOS 18 adds a new 'Recovered' album function to retrieve lost or damaged photos Jul 18, 2024 am 05:48 AM

iOS 18 adds a new 'Recovered' album function to retrieve lost or damaged photos

How does Hibernate implement polymorphic mapping? How does Hibernate implement polymorphic mapping? Apr 17, 2024 pm 12:09 PM

How does Hibernate implement polymorphic mapping?

How to retrieve the wrong chain of virtual currency? Tutorial on retrieving the wrong chain of virtual currency transfer How to retrieve the wrong chain of virtual currency? Tutorial on retrieving the wrong chain of virtual currency transfer Jul 16, 2024 pm 09:02 PM

How to retrieve the wrong chain of virtual currency? Tutorial on retrieving the wrong chain of virtual currency transfer

How does Go WebSocket integrate with databases? How does Go WebSocket integrate with databases? Jun 05, 2024 pm 03:18 PM

How does Go WebSocket integrate with databases?

How to handle database connection errors in PHP How to handle database connection errors in PHP Jun 05, 2024 pm 02:16 PM

How to handle database connection errors in PHP

See all articles