MySQL missing and filling (1) basic knowledge

Reference: Refer to "MySQL Must Know and Know"

Basic knowledge

1. What is SQL

SQL is the abbreviation of Structured Query Language, SQL is a language specifically used to communicate with databases.

2. What is Mysql

All the storage, retrieval, management and processing of data is actually done by the database software-DBMS (Database Management System). Mysql is a kind of DBMS, that is, it is a kind of database software.

3.DBMS classification

Divided into two categories: DBMS based on shared file system (Microsoft Access) and client-server based DBMS (Mysql, Oracle, Microsoft SQL Server)

4. Based on the principle of client-server DBMS

Only server software deals with data files (we don't need to directly access data files).

All requests for data, data addition, deletion, and data update are completed by the server software.

These requests or changes come from the computer running the client software.

For example: if you request an alphabetical list of products, the client software submits the request to the server software through the network ; the server software processes the request, filters, discards, and sorts the data as needed; then sends the results back to your Client software.

5. Client and server

**Server software:** is Mysql DBMS. You can run on a locally installed copy, or you can connect to a copy running on a remote server that you have access to.

**Client: **It can be tools provided by MySQL, scripting language, Web application development language (for example: JSP, PHP), programming language (for example: C, C++, Java).

6.MySQL tools

**mysql command line utility: **installed, no drop-down menu and user interface

Connection method:

mysql -h host address -u username -p password

Note: There is no space between -p and the password. If there is a space, the parameter represents the database name

Guess you like

Origin blog.csdn.net/weixin_44613100/article/details/114232273