当前位置:网站首页>Euler system (euleros): upgrade Mysql
Euler system (euleros): upgrade Mysql
2022-08-01 01:11:00 【SangBigYe】
Eulerian system version
Linux version 4.18.0-147.5.2.1.h579.eulerosv2r10.x86_64 ([email protected]) (gcc version 7.3.0 (GCC)) #1 SMP Sat Jul 31 09:58:46 UTC 2021
ps: The current version should be based on centos 8, so when downloading the rpm package, use the package based on centos 8
Before 8.0.28 has been installed, this time I need to upgrade it to solve the vulnerability
Upgrade Mysql
Download address list: https://dev.mysql.com/downloads/mysql/
Create a mysql folder under the folder, copy the downloaded file to mysql, and extract it
mysql-community-common-8.0.30-1.el8.x86_64.rpm
mysql-community-libs-8.0.30-1.el8.x86_64.rpm
mysql-community-client-plugins-8.0.30-1.el8.x86_64.rpm
mysql-community-client-8.0.30-1.el8.x86_64.rpm
mysql-community-icu-data-files-8.0.30-1.el8.x86_64.rpm
mysql-community-server-8.0.30-1.el8.x86_64.rpm
Backup database
Upgrade will not delete the database, but to be safe, it is recommended to back it up
Close the database
mysqladmin -u root -p shutdownUninstall the old version
rpm -e mysql-community-serverUpgrade
Go to the mysql folder and execute
rpm -Uvh *Needs special attention
Needs special attention
Needs special attention
The version before MySQL 8.0.16 needs to execute
mysql_upgrade -u root -pVersions after MySQL 8.0.16 look down directly
Start
systemctl start mysqldConfirm
After startup, connect it, and after confirming the startup is successful, restart it again
systemctl restart mysqld边栏推荐
猜你喜欢

zeno使用方法笔记

RTL8762DK UART(二)

MVCC总结

Automated machine learning pycaret: PyCaret Basic Auto Classification LightGBM

Classes and Objects: Above

RTL8762DK PWM (seven)

Modern Enterprise Architecture Framework 1

数据中台建设(七):数据资产管理

Notes on how to use zeno
![[AMEX] LGBM Optuna American Express Credit Card Fraud Contest kaggle](/img/64/55af53a3d9dc1162490d613fe8a436.png)
[AMEX] LGBM Optuna American Express Credit Card Fraud Contest kaggle
随机推荐
Unity3D学习笔记10——纹理数组
蓝图:杨辉三角排列
GDB 源码分析系列文章五:动态库延迟断点实现机制
Google engineer fired for claiming AI awareness: breach of nondisclosure agreement
zeno使用方法笔记
MYSQL事务
MYSQL索引解析
[AMEX] LGBM Optuna American Express Credit Card Fraud Contest kaggle
RTL8762DK PWM(七)
南方科技大学:Xiaoying Tang | AADG:视网膜图像分割领域泛化的自动增强
现代企业架构框架1
OSF一分钟了解敏捷开发模式
July Bootcamp (Day 31) - Status Compression
WAASAP WebClient UI页面标签的决定逻辑介绍
Js replication
leetcode:1562. 查找大小为 M 的最新分组【模拟 + 端点记录 + 范围合并】
MYSQL-批量插入数据
【 】 today in history: on July 31, "brains in vats" the birth of the participant;The father of wi-fi was born;USB 3.1 standard
2022年最新重庆建筑八大员(电气施工员)模拟题库及答案
cmake入门学习笔记