当前位置:网站首页>MySQL foundation 02 - installing MySQL in non docker version
MySQL foundation 02 - installing MySQL in non docker version
2022-07-04 09:07:00 【Super brother 1986】
One : Why study databases ?
1、 Job skill requirements
2、 Now the world , Those who get data get the world
3、 How to store data
4、 Program , In the website , How to keep a lot of data for a long time ?
5、 Database is almost the core of the software system .
Two : What is a database
database ( DataBase , abbreviation DB )
Concept : Keep it in a computer for a long time , Organized , A collection of large amounts of data that can be shared , It's a number “ Warehouse ”
effect : preservation , And can manage data safely ( Such as : Add, delete, change, check, etc ), Reduce redundant …
Database Overview :
- Relational database ( SQL )
MySQL , Oracle , SQL Server , SQLite , DB2 , …
Relational database establishes the relationship between tables through foreign key Association
- Non relational database ( NOSQL )
Redis , MongoDB , …
Non relational databases usually refer to data stored in the database as objects , And the relationship between objects through each object from Determined by the attributes of the body
3、 ... and : What is? DBMS?

MySQL It should be a database management system .
MySQL brief introduction 
Concept : It is now popular open source , Free of charge Relational database
history : The Swedish MySQL AB Companies to develop , At present belongs to the Oracle Its products .
characteristic :
- free , Open source database
- small , The function is all ready
- Easy to use
- Can run on Windows or Linux operating system
- It can be applied to small and medium-sized website applications
Official website : https://www.mysql.com/
install MySQL
Here we suggest that you use the compressed version , Quick installation , convenient . Not complicated .
mysql5.7 64 Bit download address :
https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.19-winx64.zip
The computer is 64 Download and use 64 A version of the !
1、 Download and get zip Compressed package .
2、 Unzip to the directory you want to install to , What I decompressed is D:\Environment\mysql-5.7.19 3、 Add environment variables : My computer -> attribute -> senior -> environment variable
3、 Add environment variables : My computer -> attribute -> senior -> environment variable
choice PATH, Add after : Yours mysql Under the installation file bin Folder
4、 edit my.ini file , Pay attention to the replacement path location
[mysqld]
basedir=D:\Program Files\mysql-5.7
datadir=D:\Program Files\mysql-5.7\data
port=3306
skip-grant-tables
5、 Start... In administrator mode CMD, And switch the path to mysql Under the bin Catalog , Then input mysqld –install ( install mysql)
6、 Input again Initialization data file
7、 Then start again mysql And then by command mysql –u root –p Get into mysql Management interface ( The password can be empty )
8、 Enter the interface and change root password
update mysql.user set authentication_string=password(‘123456’) where
user=‘root’ and Host = ‘localhost’;
9、 Refresh the permissions
flush privileges;
10、 modify my.ini File delete the last sentence skip-grant-tables
11、 restart mysql It can be used normally
net stop mysql
net start mysql
12、 The following results appear in the connection test and the installation is completed
Step by step , There is no problem in theory .
If you've installed , Now we need to reload , Be sure to clean up the environment .
边栏推荐
- 埃氏筛+欧拉筛+区间筛
- ArrayBuffer
- In depth investigation and Strategic Research Report on China's motion controller Market (2022 Edition)
- Relationship and operation of random events
- How to play dapr without kubernetes?
- C language - Introduction - Foundation - syntax - [operators, type conversion] (6)
- C语言-入门-基础-语法-[运算符,类型转换](六)
- Reload CUDA and cudnn (for tensorflow and pytorch) [personal sorting summary]
- awk从入门到入土(9)循环语句
- System disk expansion in virtual machine
猜你喜欢

How do microservices aggregate API documents? This wave of show~

Educational Codeforces Round 119 (Rated for Div. 2)

You can see the employment prospects of PMP project management

How to ensure the uniqueness of ID in distributed environment

Nurse level JDEC addition, deletion, modification and inspection exercise

After unplugging the network cable, does the original TCP connection still exist?

到底什么才是DaaS数据即服务?别再被其他DaaS概念给误导了
![Langage C - démarrer - base - syntaxe - [opérateur, conversion de type] (vi)](/img/3f/4d8f4c77d9fde5dd3f53ef890ecfa8.png)
Langage C - démarrer - base - syntaxe - [opérateur, conversion de type] (vi)

Sequence model

Codeforces Round #803 (Div. 2)(A-D)
随机推荐
Educational Codeforces Round 115 (Rated for Div. 2)
20220701 barbarat lemma proof
ArrayBuffer
Global and Chinese PCB function test scale analysis and development prospect planning report Ⓑ 2022 ~ 2027
埃氏筛+欧拉筛+区间筛
China battery grade manganese sulfate Market Forecast and strategic consulting report (2022 Edition)
The old-fashioned synchronized lock optimization will make it clear to you at once!
LinkedList in the list set is stored in order
Opencv environment construction (I)
什么是uid?什么是Auth?什么是验证器?
微服務入門:Gateway網關
Webapi interview question summary 01
Industry depression has the advantages of industry depression
到底什么才是DaaS数据即服务?别再被其他DaaS概念给误导了
Codeforces Round #750 (Div. 2)(A,B,C,D,F1)
C語言-入門-基礎-語法-[運算符,類型轉換](六)
1211 or chicken and rabbit in the same cage
《网络是怎么样连接的》读书笔记 - WEB服务端请求和响应(四)
老掉牙的 synchronized 锁优化,一次给你讲清楚!
【LeetCode 42】501. Mode in binary search tree