当前位置:网站首页>MySQL installation (RPM package)
MySQL installation (RPM package)
2022-07-27 11:06:00 【weixin_ forty-four million eight hundred and fifteen thousand e】
Mysql Database version :5.7.16
1、 Check whether there are conflicting dependent packages
ps -ef |grep maridb The uninstallation found is ok .
2、 Database installation sequence :
rpm -ivh mysql-community-libs-5.7.16-1.el7.x86_64
rpm -ivh mysql-community-common-5.7.16-1.el7.x86_64.rpm
rpm -ivh mysql-community-client-5.7.16-1.el7.x86_64.rpm
rpm -ivh mysql-community-server-5.7.16-1.el7.x86_64.rpm
3、 Start database
systemctl start mysqld
4、 Check the initialization database password
cat /var/log/mysqld.log | grep password

5、 Before initializing the database password , First, you need to set the authentication strength level of the password
Input set value statement “ set global validate_password_policy=LOW; ” Set the value
The current password length is 8 , If you don't mind, you don't have to change it , In general terms , Set to 6 Bit code
Input set value statement “ set global validate_password_length=6; ” Set the value ,
6、 Initialize password
mysqladmin -uroot ' Initialize password ' passworkd ' New password '
边栏推荐
- Analysis of C language pointer function and function pointer
- ECCV 2022 | complete four tracking tasks at the same time! Unicorn: towards the unification of target tracking
- Solved syntaxerror: (Unicode error) 'Unicode scape' codec can't decode bytes in position 2-3: truncated
- ASP.NET Core依赖注入之旅:1.理论概念
- The difference between scalar, vector, matrix and tensor in deep learning
- MySQL log management, backup and recovery
- Local and overall differences between emergence and morphology
- Compete for the key battle of stock users and help enterprises build a perfect labeling system - 01 live review
- Why is the data service API the standard configuration of the data midrange when we take the last mile of the data midrange?
- Use of pyquery
猜你喜欢

It is thought-provoking: is syntax really important? Qiu Xipeng group proposed a powerful baseline for aspect based emotional analysis

It is thought-provoking: is syntax really important? Qiu Xipeng group proposed a powerful baseline for aspect based emotional analysis

How to create a.Net image with diagnostic tools

Li Hongyi_ Machine learning_ Assignment 4 (detailed explanation)_ HW4 Classify the speakers

Shock simulation of engine mounting system transient modal dynamic analysis and response spectrum analysis

SQL Server2000数据库错误

ECCV 2022 | 同时完成四项跟踪任务!Unicorn: 迈向目标跟踪的大统一

Derivation of the detailed expansion sto overlap integrals

c语言指针函数和函数指针的辨析

Delete in MySQL: the difference between delete, drop and truncate
随机推荐
How to build a data index system is the most effective. From 0 to 1, we will take you a quick start - 02 live review
[QNX Hypervisor 2.2用户手册]9.9 logger
Codeforces Round #807 (Div 2.) AB
学习笔记-uni-app
Synaesthesia integrated de cellular super large-scale MIMO and high-frequency wireless access technology
Data assets are king. How to analyze the relationship between enterprise digital transformation and data asset management?
C language 2: find the maximum value of three numbers, find the middle value of three numbers, and write program steps
Tdengine business ecosystem partner recruitment starts
[intensive reading of thesis]bert
Deep analysis: what is diffusion model?
计算重叠积分的第二种方法
Sort th in antd table to prevent hovering color change +table hovering row color change +table header color change
学习笔记-微信支付
已解决SyntaxError: (unicode error) ‘unicodeescape‘ codec can‘t decode bytes in position 2-3: truncated
OpenAtom OpenHarmony分论坛,今天14:00见!附大事记精彩发布
Application scenarios, key technologies and network architecture of communication perception integration
推导重叠积分的详细展开式 STO overlap integrals
IMG SRC is empty or SRC does not exist, and the picture has a white border
Analysis of new communication security risks brought by quantum computer and Countermeasures
Google browser screenshot tips