当前位置:网站首页>CentOS install mysql5.7
CentOS install mysql5.7
2022-07-26 08:00:00 【Little thief [email】
1. download Mysql yum package
wget http://repo.mysql.com/mysql57-community-release-el7-10.noarch.rpm
2. Installation software source
rpm -Uvh mysql57-community-release-el7-10.noarch.rpm
3. install mysql Server side
Execute first :yum module disable mysql
Re execution :yum -y install mysql-community-server
4. start-up mysql
service mysqld start
5. Check mysql Operating state
service mysqld status
6. Change the temporary password
(1) View current password
grep ‘temporary password’ /var/log/mysqld.log
My password is : WNKF0nP,C#t=
(2) Change Password
Sign in :mysql -uroot -p
modify :ALTER USER ‘root’@‘localhost’ IDENTIFIED BY ‘123456’;
Modify the parameters :
mysql> set global validate_password_policy=0;
mysql> set global validate_password_length=1;
to grant authorization :
GRANT ALL PRIVILEGES ON . TO ‘root’@’%’ IDENTIFIED BY ‘123456’;
7. stay Navicat for MySQL Middle link 
8. Link to the original text
https://blog.csdn.net/lovequanquqn/article/details/82343920
版权声明
本文为[Little thief [email protected]]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/201/202207181754402829.html
边栏推荐
- The difference between LinkedList and ArrayList
- 数据库基础
- [fastjson1.2.24 deserialization vulnerability principle code analysis]
- Come across the sea to see you
- Solution to the problem of token loss when microservice feign is called
- Pycharm code specification tool flake8
- 一文掌握mysql数据库审计特点、实现方案及审计插件部署教程
- table 固定特定行
- 以太网交换安全
- Wrong Addition
猜你喜欢

分布式相关面试题总结

WCF deployed on IIS

JSP implicit object servlet object

Idea settings set shortcut keys to convert English letters to case in strings

20220209 create a basic Servlet

A tutorial for mastering MySQL database audit characteristics, implementation scheme and audit plug-in deployment

Dynamic performance view overview

Program environment and pretreatment

小组成员参加2022中国多媒体大会

FTP service
随机推荐
Using ordered dictionary to copy pcap files
Practice of online question feedback module (XIV): realize online question answering function
Lambda and stream
How to determine the authenticity of the website you visit -- certificate system
Logical volume management (LVM)
API (common class 2)
JSP implicit object -- scope
AQS implementation principle
Model pruning 3: learning structured sparsity in deep neural networks
Burp Suite-第六章 如何使用Burp Spider
线程崩了,为什么不会导致 JVM 崩溃呢?如果是主线程呢?
2022.7.22DAY612
Ten thousand words long article | deeply understand the architecture principle of openfeign
Use of JMeter performance test to store response content to file listener
Tensorflow learning diary tflearn
Jmeter性能测试之将每次接口请求的结果保存到文件中
【 fastjson1.2.24反序列化漏洞原理代码分析】
Abnormal (2)
2022.7.22DAY612
Shardingsphere data slicing