当前位置:网站首页>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 .
边栏推荐
- Research and investment strategy report of China's electronic hydrogen peroxide industry (2022 Edition)
- Awk from entry to earth (12) awk can also write scripts to replace the shell
- 26. Delete duplicates in the ordered array (fast and slow pointer de duplication)
- 165 webmaster online toolbox website source code / hare online tool system v2.2.7 Chinese version
- Awk from entry to earth (15) awk executes external commands
- Report on research and investment prospects of polyglycolic acid industry in China (2022 Edition)
- Webapi interview question summary 01
- Review of last week's hot spots (6.27-7.3)
- Investment analysis and future production and marketing demand forecast report of China's paper industry Ⓥ 2022 ~ 2028
- Turn: excellent managers focus not on mistakes, but on advantages
猜你喜欢

09 softmax regression + loss function

How should PMP learning ideas be realized?

微服务入门:Gateway网关
](/img/89/0f5f4ba07c637b09abe873016cba2d.png)
C语言-入门-基础-语法-[标识符,关键字,分号,空格,注释,输入和输出](三)

Sequence model

Codeforces Round #803 (Div. 2)(A-D)

Jianzhi offer 09 realizes queue with two stacks

C语言-入门-基础-语法-数据类型(四)

Some points needing attention in PMP learning

随机事件的关系与运算
随机推荐
1211 or chicken and rabbit in the same cage
The old-fashioned synchronized lock optimization will make it clear to you at once!
awk从入门到入土(5)简单条件匹配
转:优秀的管理者,关注的不是错误,而是优势
Opencv environment construction (I)
Codeforces Global Round 21(A-E)
ArrayBuffer
How do microservices aggregate API documents? This wave of show~
地平线 旭日X3 PI (一)首次开机细节
GoLand environment variable configuration
Explain TCP protocol in detail three handshakes and four waves
Awk from getting started to digging in (9) circular statement
Simulate EF dbcontext with MOQ - mocking EF dbcontext with MOQ
CLion-控制台输出中文乱码
Review of last week's hot spots (6.27-7.3)
C language - Introduction - Foundation - syntax - [variable, constant light, scope] (V)
awk从入土到入门(10)awk内置函数
At the age of 30, I changed to Hongmeng with a high salary because I did these three things
After unplugging the network cable, does the original TCP connection still exist?
You can see the employment prospects of PMP project management