当前位置:网站首页>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


边栏推荐
- Do you know all four common cache modes?
- [information security laws and regulations] review
- Command mode - unity
- 5billion, another master fund was born in Fujian
- Scientists have observed for the first time that the "electron vortex" helps to design more efficient electronic products
- PTA 1102 教超冠军卷
- Short selling, overprinting and stock keeping, Oriental selection actually sold 2.66 million books in Tiktok in one month
- LeetCode 890(C#)
- Mathematical analysis_ Notes_ Chapter 11: Fourier series
- 3.关于cookie
猜你喜欢

Former richest man, addicted to farming

杰理之相同声道的耳机不允许配对【篇】

Multimodal point cloud fusion and visual location based on image and laser

Basic operation of chain binary tree (implemented in C language)

App capture of charles+drony

RISCV64

Creative changes brought about by the yuan universe

2022.07.04

虚拟数字人里的生意经

99% of people don't know that privatized deployment is also a permanently free instant messaging software!
随机推荐
2022.07.02
杰理之关于 TWS 配对方式配置【篇】
Review of network attack and defense
2022-07-04 matlab读取视频帧并保存
虚拟数字人里的生意经
String - string (Lua)
超分辨率技术在实时音视频领域的研究与实践
PV static creation and dynamic creation
Micro service remote debug, nocalhost + rainbow micro service development second bullet
AI来搞财富分配比人更公平?来自DeepMind的多人博弈游戏研究
cmd命令进入MySQL时报服务名或者命令错误(傻瓜式教学)
2022.07.02
Flipping game (enumeration)
Wechat web debugging 8.0.19 replace the X5 kernel with xweb, so the X5 debugging method can no longer be used. Now there is a solution
Do you know all four common cache modes?
网易云信参与中国信通院《实时音视频服务(RTC)基础能力要求及评估方法》标准编制...
648. 单词替换
[Blue Bridge Cup training 100 questions] sort scratch from small to large. Blue Bridge Cup scratch competition special prediction programming question centralized training simulation exercise question
从39个kaggle竞赛中总结出来的图像分割的Tips和Tricks
Tips and tricks of image segmentation summarized from 39 Kabul competitions