Home > Database > Mysql Tutorial > body text

Introducing a simple database Database tutorial (3)

伊谢尔伦
Release: 2017-04-29 17:37:32
Original
1088 people have browsed it

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!

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!