Introducing a simple database Database tutorial (3)
Apr 29, 2017 pm 05:37 PMMySQL 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!

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

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

In summer, you must try shooting a rainbow

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

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 does Go WebSocket integrate with databases?

How to handle database connection errors in PHP
