Basic concept of relational database and MySQL brief

Source: Internet
Author: User

Basic concept of the database "> Basic concepts of relational databases

Database :
An efficient solution for managing large amounts of information.
A library that organizes, stores, and manages data in accordance with its data structure .

Database Systems (dbs,database system):
Database (db,database) + Database management systems (Dbms,database MANAGEMENT System)

relational database
A database system built on a relational model.

Relational Model:
How the entity structure should be handled when the attributes of the entity (student) and entity in daily life (student's number, name, etc.) are saved to the database.
1, data structure can be stipulated, similar data, structure consistent, is a two-dimensional table.
2, the relationship between data can be set. The relationship between the entity and the entity.
Entity structure + Entity Contact

the concept of a relational database:
Database: The warehouse of the data.
Tables table: Data stored in a table, stored in a table of data, should have the same data format.
Rows and columns: Rows are used to record data, and columns are used to specify the data format.
Record: The data in the row.
Field: A column of data.
SQL: Data management system, the language used to manage the data, Structured Query Language (Structured Query language).

MySQL "> why use MySQL?

MySQL was developed by MySQL AB in Sweden and is currently a relational database product of Oracle (Oracle) (2008 MySQL AB was acquired by Sun, 2009 Sun was acquired by Oracle) and open source, free of charge.
The world's most popular open source database system, powerful enough to handle Web applications.

MySQL uses the C/s (client/server side) architecture.
Server-side: stores and manages databases.
Client: The program that issued the action request.
(mysqld server, MySQL client)

installation and use of MySQL and Navicat clients

http://blog.csdn.net/scgaliguodong123_/article/details/45392283

managing MySQL Servers

1, as a Windows service Management, service (SERVICES.MSC)
2. Command line Form

dos">Net start MySQLNet stop MySQL

3. Run the MYSQLD server program directly

basic process of database operation


Steps:
1, connection, authentication.
2, the client sends the operation instruction to the server side.
3, the server-side processing request instructions.
4, the server side returns processing results to the client.
5, the client displays the resulting results.

Operation MySQL

Via MySQL client, operate MySQL.
connection:MySQL (mysql.exe) –hlocalhost–p3306–uroot–pliguodong
exit:Exit quit \q

Basic concept of relational database and MySQL brief

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.