当前位置:网站首页>Install mysql8 for Linux X ultra detailed graphic tutorial
Install mysql8 for Linux X ultra detailed graphic tutorial
2022-07-07 19:20:00 【Poetic elegance】
1、 download Mysql8.X Version installation package
1.1 You can download it directly with Baidu online disk
link :https://pan.baidu.com/s/1lc5ctVyp7kXXZXCsh9AiRA?pwd=yyds
Extraction code :yyds
1.2 Download from the official website
The website links
The specific download steps can be seen in another article I wrote separately mysql Download blog Jump Links
2、 Download good mysql Install package upload linux
3、Linux Installation procedure on
- install Mysql rely on 【perl net-tools】
yum install perl net-tools -y
- uninstall mariadb
rpm -qa | grep mariadb
rpm -e --nodeps mariadb-libs-5.5.60-1.el7_5.x86_64
- install mysql
- decompression mysql
tar -xvf mysql-8.0.18-1.el7.x86_64.rpm-bundle.tar
- Install the required installation package ( Four packages after decompression )
Install step by step , You can't take a random step , Otherwise, unload the corresponding slave
rpm -ivh mysql-community-common-8.0.18-1.el7.x86_64.rpm
rpm -ivh mysql-community-libs-8.0.18-1.el7.x86_64.rpm
rpm -ivh mysql-community-client-8.0.18-1.el7.x86_64.rpm
rpm -ivh mysql-community-server-8.0.18-1.el7.x86_64.rpm
4、 Change custom password
- start-up mysql
systemctl start mysqld
- Find the password and log in Mysql
cat /var/log/mysqld.log | grep password
mysql -u root -p
Enter the newly generated mysql Random cipher
- modify Mysql password 8.0 Version input command
set global validate_password.policy=LOW;
set global validate_password.length=6;
- Change encryption 、
ALTER USER 'root'@'localhost' IDENTIFIED BY '123456' PASSWORD EXPIRE NEVER;
- Update user password
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';
- Refresh the permissions
FLUSH PRIVILEGES;
5、 Modify the remote connection
use mysql;
update user set host='%' where user = 'root';
commit;
exit;
- restart mysq
systemctl restart mysqld;
- Local navicat Connect remote mysql The server
边栏推荐
- 杰理之发起对耳配对、回连、开启可发现、可连接的轮循函数【篇】
- 杰理之手动配对方式【篇】
- Complete e-commerce system
- Mathematical analysis_ Notes_ Chapter 11: Fourier series
- Realize payment function in applet
- Learn open62541 -- [67] add custom enum and display name
- 初识缓存以及ehcache初体验「建议收藏」
- 2022-07-04 matlab reads video frames and saves them
- [mime notes]
- 5billion, another master fund was born in Fujian
猜你喜欢
Micro service remote debug, nocalhost + rainbow micro service development second bullet
99% of people don't know that privatized deployment is also a permanently free instant messaging software!
Redis
Command mode - unity
Jerry's headphones with the same channel are not allowed to pair [article]
Zhong Xuegao wants to remain innocent in the world
ES6笔记一
杰理之手动配对方式【篇】
杰理之关于 TWS 配对方式配置【篇】
648. 单词替换
随机推荐
Where does brain hole come from? New research from the University of California: creative people's neural connections will "take shortcuts"
编译原理 实验一:词法分析器的自动实现(Lex词法分析)
【Base64笔记】「建议收藏」
ES6 note 1
【牛客网刷题系列 之 Verilog进阶挑战】~ 多bit MUX同步器
L1-028 judging prime number (Lua)
POJ 1182: food chain (parallel search) [easy to understand]
Is AI more fair than people in the distribution of wealth? Research on multiplayer game from deepmind
UVALive – 4621 Cav 贪心 + 分析「建议收藏」
Basic operation of chain binary tree (implemented in C language)
Key points of anti reptile: identifying reptiles
Borui data was selected in the 2022 love analysis - Panoramic report of it operation and maintenance manufacturers
解决rosdep的报错问题
Hongmeng smart home [1.0]
50亿,福建又诞生一只母基金
IP netns command (memo)
LeetCode 515(C#)
POJ 1182 :食物链(并查集)[通俗易懂]
The top of slashdata developer tool is up to you!!!
Embedded interview questions (algorithm part)