当前位置:网站首页>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
边栏推荐
- 杰理之按键发起配对【篇】
- PV静态创建和动态创建
- Golang client server login
- 微信网页调试8.0.19换掉X5内核,改用xweb,所以x5调试方式已经不能用了,现在有了解决方案
- Classification and application of enterprise MES Manufacturing Execution System
- Policy mode - unity
- DeSci:去中心化科学是Web3.0的新趋势?
- Draw squares with Obama (Lua)
- PV static creation and dynamic creation
- 我感觉被骗了,微信内测 “大小号” 功能,同一手机号可注册两个微信
猜你喜欢
如何选择合适的自动化测试工具?
Micro service remote debug, nocalhost + rainbow micro service development second bullet
博睿数据入选《2022爱分析 · IT运维厂商全景报告》
[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
99% of people don't know that privatized deployment is also a permanently free instant messaging software!
Realize payment function in applet
SD_ DATA_ RECEIVE_ SHIFT_ REGISTER
超分辨率技术在实时音视频领域的研究与实践
Experiment 1 of Compilation Principle: automatic implementation of lexical analyzer (Lex lexical analysis)
基于图像和激光的多模态点云融合与视觉定位
随机推荐
數據驗證框架 Apache BVal 再使用
初识缓存以及ehcache初体验「建议收藏」
UVALive – 4621 Cav 贪心 + 分析「建议收藏」
L1-019 who falls first (Lua)
前首富,沉迷种田
基于图像和激光的多模态点云融合与视觉定位
LeetCode 497(C#)
POJ 1182 :食物链(并查集)[通俗易懂]
脑洞从何而来?加州大学最新研究:有创造力的人神经连接会「抄近道」
Learn open62541 -- [67] add custom enum and display name
数据验证框架 Apache BVal 再使用
2022.07.05
3.关于cookie
Review of network attack and defense
多个kubernetes集群如何实现共享同一个存储
App capture of charles+postern
最长公共前缀(leetcode题14)
"Decryption" Huawei machine vision Corps: Huawei is moving up and the industry is moving forward
How to choose the appropriate automated testing tools?
杰理之开机自动配对【篇】