当前位置:网站首页>MySQL introduction, detailed installation steps and usage | dark horse programmer
MySQL introduction, detailed installation steps and usage | dark horse programmer
2022-06-30 20:44:00 【Dark horse programmer official】
Catalog
Two 、MySQL Installation and use
2、 Installation package download - Decompression version
Installation package download - Installed version
One 、MySQL brief introduction
1、MySQL Introduction to
MySQL The database management system is developed by Sweden DataKonsultAB Company R & D , The company was Sun Company purchase , Now? Sun The company was again Oracle Company purchase , therefore MySQL At present belongs to the Oracle Its products .
MySQL What is used SQL Language is the most commonly used standardized language for accessing database .MySQL The software adopts a dual licensing policy , It is divided into community version and commercial version , Because of its small size 、 Fast 、 Low total cost of ownership , In general, small and medium-sized sites are chosen for development MySQL As website database .
2、MySQL Characteristics
①MySQL Database is used C and C++ language-written , To ensure the portability of the source code
② Support multiple operating systems, such as :Windows、Linux、Mac OS wait
③ Multithreading support , Can make full use of CPU resources
④ Provides for multiple programming languages API, Include C Language ,Java,PHP.Python Language, etc.
⑤MySQL To optimize the SQL Algorithm , Effectively improve the query speed
⑥MySQL Open source and no copyright restrictions , Strong autonomy 、 Low use cost .
⑧MySQL Has a long history 、 The community and users are very active , Have a problem , You can get help quickly .
3、MySql Version of
For different users ,MySQL There are two different versions :
- MySQL Community Server
Community version , free , however Mysql No official technical support .
- MySQL Enterprise Edition
Business Edition , This version is a paid version , You can try 30 God , Official technical support
- MySQL Cluster
Cluster version , Free open source , You can put a few MySQL Server Encapsulate into a Server.
- MySQL Cluster CGE
Advanced clustering , Pay for .
- MySQL Workbench(GUI TOOL)
One for MySQL The design of the ER/ Database modeling tools .MySQL Workbench It's divided into two versions , The community version (MySQL Workbench OSS)、 Commercial version (MySQL Workbench SE).
MySQL The naming mechanism used by 3 A version number consisting of a number and a suffix . for example , image mysql-8.0.26 The version number of is explained in this way :、
The first 1 A digital (8) It's the main version number , Describes the file format . All versions 5 All distributions of have the same file format .
The first 2 A digital (0) It's the release level . The main version number and release level are combined to form the release serial number .
The first 3 A digital (26) Is the version number of this release series , Increase with each new distribution .
at present ,My SQL The latest version of is MySQL 8.0.
Two 、MySQL Installation and use
1、 Installation mode
MySQL There are two ways to install the :
Decompression configuration mode

Step installation method

2、 Installation package download - Decompression version
Download address :Download MySQL Community Server (Archived Versions)

Installation package download - Installed version
Download address :Download MySQL Installer (Archived Versions)

(1) Unzip package
take MySQL Unzip the package in a directory without Chinese and spaces

(2) Setup profile
Create... In the extracted directory my.ini File and add the following :

(4) Configure system environment
- ① stay 【 My computer 】 Right click
- ② choice 【 Advanced system setup 】
- ③ choice 【 senior 】-》【 environment variable 】

(5) Configure system environment
take MYSQL_HOME Add to PATH environment variable

(6) Service operation
Enter with administrator privileges DOS, stay cmd in , Enter... In the unzip directory bin The directory executes the following commands in turn :
① Yes mysql To initialize , Please note that , A temporary password will be produced here , Use this temporary password later
mysqld --initialize --user=mysql --console
② install mysql service
mysqld --install
③ start-up mysql service
net start mysql
④ Sign in mysql, Here you need to use the temporary password produced before
mysql -uroot –p
⑤ modify root User password
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY ‘123456’;
⑤ modify root User permissions
create user 'root'@'%' IDENTIFIED WITH mysql_native_password BY ‘123456';
3、 Step installation
Download address :Download MySQL Installer (Archived Versions)
Follow the steps to install


After that, it can be installed according to the process , encounter `Next`( next step ) Just click

Click on `Execute` Wait a few minutes after .

When all States become Complete after , Click on Next:



Remember to enter the password here , Used to log in the database later , It is recommended to set the password to :123456.
边栏推荐
- PHP require/include 区别
- 【数字IC应届生职业规划】Chap.1 IC行业产业链概述及代表企业大厂汇总
- Lumiprobe protein quantitation - qudye Protein Quantitation Kit
- B_QuRT_User_Guide(31)
- Web host iptables firewall security script
- AVL balanced binary tree (I) - concept and C language implementation
- Study on lumiprobe modified triphosphate biotin-11-utp
- Halcon knowledge: check the measurement objects [1]
- How do I get the largest K massive data
- Jerry's determination of detection sensitivity level [chapter]
猜你喜欢

All the important spark summit features were released here last night (with ultra clear video attached)
![Halcon knowledge: check the measurement objects [1]](/img/0a/3a12e281fcb201d8d11b25dac4145a.png)
Halcon knowledge: check the measurement objects [1]

Golang应用 ━━ 安装、配置与使用hugo博客系统

B_QuRT_User_Guide(32)

Lumiprobe copper free click chemical solution

Study on lumiprobe dye NHS ester BDP FL NHS ester

Huffman Tree (1) Basic Concept and C - language Implementation

Testing principle and precautions of biovendor rage ELISA Kit

Binary search tree (1) - concept and C language implementation

MFC界面库BCGControlBar v33.0 - 桌面警报窗口、网格控件升级等
随机推荐
基于开源流批一体数据同步引擎ChunJun数据还原—DDL解析模块的实战分享
请指教在线开户需要什么银行卡?另外想问,现在在线开户安全么?
北京大学ACM Problems 1006:Biorhythms
C file pointer
Lumiprobe 聚乙二醇化和 PEG 接头丨碘-PEG3-酸研究
Lumiprobe nucleic acid quantitative qudye dsDNA br detection kit
MFC界面库BCGControlBar v33.0 - 桌面警报窗口、网格控件升级等
Summary of personal work of 21 groups in the first week of summer training
Evolution of screen display technology
Maya House Modeling
Description of the latest RTSP address rules for Hikvision camera, NVR, streaming media server, playback and streaming [easy to understand]
B_QuRT_User_Guide(34)
Halcon knowledge: check the measurement objects [1]
B_QuRT_User_Guide(31)
Basic components of STL
Lumiprobe cell biology - dia, instructions for lipophilic tracer
Peking University ACM problems 1006:biorhythms
Wechat applet development practice cloud music
Study on lumiprobe modified triphosphate biotin-11-utp
uniapp-富文本编辑器