当前位置:网站首页>[VMware virtual machine installation mysql5.7 tutorial]
[VMware virtual machine installation mysql5.7 tutorial]
2022-07-30 13:40:00 【Chos1JQ】
First go to the mysql official website to download MySQL: Chinese official website
www.mysql.com/cn
Enter the official website and select Download >MYSQL Community (GPL)Downloads > MYSQL Community Server >
Archives and select a version:

Click RPM Bundle download to copy the download link: https://downloads.mysql.com/archives/get/p/23/file/mysql-5.7.36-1.el7.x86_64.rpm-bundle.tar
Install wget
yum -y install wget
Create a new directory to store
mkdir mysql
cd mysql
Download the rpm package (the installation package suffix is tar)
sudo wget https://downloads.mysql.com/archives/get/p/23/file/mysql-5.7.36-1.el7.x86_64.rpm-bundle.tarj
Unzip the file
tar -xvf mysql-5.7.36-1.el7.x86_64.rpm-bundle.tar
Query mariabd package
rpm -e --nodeps
Dependencies
yum -y install perl
yum -y install net-tools
Install Mysql
rpm -ivh mysql-community-common-5.7.36-1.el7.x86_64.rpm
rpm -ivh mysql-community-libs-compat-5.7.36-1.el7.x86_64.rpm
rpm -ivh mysql-community-client-5.7.36-1.el7.x86_64.rpm
rpm -ivh mysql-community-server-5.7.36-1.el7.x86_64.rpm
Start Mysql service
Systemctl start mysqld
Systemctl status mysqld
View password valid results
cat /var/log/mysqld.log | grep password
Set password policy
Modify: password minimum length
set global validate_password_length = 6;
Modify: Password Strength Check Level Policy
set global validate_password_policy=0;
Change password
set password for 'root'@'localhost'=password('188266');
Open the mysql root user remote connection service (% sign is the remote connection, the password followed by IDENTIFIED BY)
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '188266' WITH GRANT OPTION;
Remember to refresh at the end:
flush privileges;
Now that the installation is complete, hurry up and deploy the project!!
边栏推荐
- 展厅全息投影所具备的三大应用特点
- ARC115F Migration
- strlen跟sizeof区别
- canvas彩虹桥动画js特效
- R语言向前或者向后移动时间序列数据(自定义滞后或者超前的期数):使用dplyr包中的lag函数将时间序列数据向后移动一天(设置参数n为负值)
- Self-tuning PID self-tuning control 】 【
- 【自校正控制】自校正PID
- R语言ggplot2可视化:使用ggpubr包的ggboxplot函数可视化箱图、width参数自定义箱图中箱体的宽度
- 简单理解精确率(Precision),召回率(Recall),准确率(Accuracy),TP,TN,FP,FN
- shell脚本流程控制语句
猜你喜欢
随机推荐
Composer安装方式
缓存
What are the hard-core upgrades and applications that cannot be missed in Greenplum 6.0?
程序员修炼之道:务以己任,实则明心——通向务实的最高境界
“封号斗罗” 程序员修炼之道:通向务实的最高境界
阿里 P7 到底是怎样的水平?
434. 字符串中的单词数
浅析TSINGSEE智能视频分析网关的AI识别技术及应用场景
腾讯称电竞人才缺口200万;华为鸿蒙3.0正式发布;乐视推行每周工作4天半?...丨黑马头条...
IDEA 重复代码快速重构(抽取重复代码快捷键)
20220729 证券、金融
strlen跟sizeof区别
el-table中el-table-column下的操作切换class样式
jsArray array copy method performance test 2207292307
UPC2022暑期个人训练赛第19场(B,P)
简单理解精确率(Precision),召回率(Recall),准确率(Accuracy),TP,TN,FP,FN
odoo--qweb模板介绍(一)
leetcode207.课程表(判断有向图是否有环)
Hand tearing read-write lock performance test
canvas彩虹桥动画js特效









