database
For me, learning a new thing, we must first know what it is, know its main components. Here's a brief overview of the database.
A brief description of the database
1, the database
Database (database), can be regarded as short electronic file cabinets - premises storage of electronic documents (ie storing data warehouse), users can add the data file, query, update, delete, etc. .
Common database management software: Oracle oracle, IBM's db2, sql server, Access, Mysql (open source, free, cross-platform).
3, the database system
Database system DBS (Data Base System, DBS) software, database administrators and data components. Its software includes the operating system, various host languages, utilities, and database management systems. Unified database managed by the database management system, data insertion, modification, and retrieval have to be carried out by database management systems. Data administrator is responsible for creating, monitoring and maintenance of the entire database, the data can be used by any person is entitled to effective use.
When I was learning database, mainly using Mysql, Mysql now introduce the following installation.
MySQL Installation
First, install
In the windows system, downloaded directly from the official website (https://dev.mysql.com/downloads/mysql/),
After the compressed package after the download, unzip, create a need in the extracted files my.ini configuration file, and then configure some basic information. To be able to start mysql directly in the cmd, you can extract the path to bin folder under the folder added to the environment variable path. So my mysql directly installed.
Two, MySQL is commonly used commands
1, the start mysql service mysql stop service command:
net start mysql start MySQL NET STOP MySQL stop MySQL
2, log on and exit the
mysql - u root -p password
quit / exit / \ p Log
Reproduced in: https: //www.cnblogs.com/xiaoqi521/p/11049569.html