当前位置:网站首页>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
边栏推荐
- Read and write of zip file
- Shardingjdbc pit record
- 如何关闭高位端口
- Jmeter性能测试之将每次接口请求的结果保存到文件中
- 《门锁》引爆独居安全热议 全新海报画面令人窒息
- The difference between overloading and rewriting
- A tutorial for mastering MySQL database audit characteristics, implementation scheme and audit plug-in deployment
- PHP environment deployment
- 小组成员参加2022中国多媒体大会
- Quantitative perception training in tensorflow2.x and x86 end evaluation of tflite
猜你喜欢

Excel file parsing

利用js实现统计字符串数组中各字符串出现的次数,并将其格式化为对象数组。

PyTorch

Matlab-二/三维图上绘制黑点

System architecture & microservices

How to determine the authenticity of the website you visit -- certificate system

Jmeter性能测试之使用存储响应内容到文件监听器

Burp Suite-第八章 如何使用Burp Intruder

音视频学习(十)——ps流
![[uniapp] encapsulation of multiple payment methods](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[uniapp] encapsulation of multiple payment methods
随机推荐
Pycharm code specification tool flake8
Now developers are beginning to do testing. Will there be no software testers in the future?
The difference between equals() and = =
2022-07-09 group 5 Gu Xiangquan's learning notes day02
How to determine the authenticity of the website you visit -- certificate system
通用 DAO 接口设计
Summary of API method
Why don't you tell me what long polling is?
2022.7.22DAY612
Summary of traversal methods of list, set, map, queue, deque and stack
【 fastjson1.2.24反序列化漏洞原理代码分析】
Leetcode 206. reverse chain list (2022.07.25)
API (common class 2)
小组成员参加2022中国多媒体大会
Wrong Addition
The difference between ArrayList and LinkedList
Jmeter性能测试之将每次接口请求的结果保存到文件中
Logical volume management (LVM)
万字长文 | 深入理解 OpenFeign 的架构原理
Database foundation