当前位置:网站首页>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 shutdown
Uninstall the old version
rpm -e mysql-community-server
Upgrade
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 -p
Versions after MySQL 8.0.16 look down directly
Start
systemctl start mysqld
Confirm
After startup, connect it, and after confirming the startup is successful, restart it again
systemctl restart mysqld
边栏推荐
- 【 】 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
- Introduction to the five data types of Redis
- WindowInsetsControllerCompat is simple to use
- ECCV2022 Workshop | 复杂环境中的多目标跟踪和分割
- July Bootcamp (Day 31) - Status Compression
- Classes and Objects: Above
- ROS2 series of knowledge (4): understand the concept of [service]
- 【密码学/密码分析】基于TMTO的密码分析方法
- gateway gateway cross domain
- LeetCode--打家劫舍问题
猜你喜欢
MYSQL查询截取优化分析
Four ways the Metaverse is changing the way humans work
Daily practice of LeetCode - Circular linked list question (interview four consecutive questions)
MVCC总结
RTL8762DK WDG (six)
Summary of MVCC
清华大学陈建宇教授团队 | 基于接触丰富机器人操作的接触安全强化学习框架
Unity3D学习笔记10——纹理数组
RTL8762DK Lighting/LED (3)
Google engineer fired for claiming AI awareness: breach of nondisclosure agreement
随机推荐
Southern University of Science and Technology: Xiaoying Tang | AADG: Automatic Enhancement for Generalization in the Field of Retinal Image Segmentation
RTL8762DK 点灯/LED(三)
Application of integrated stepper motor in UAV automatic airport
cmake入门学习笔记
Automated machine learning pycaret: PyCaret Basic Auto Classification LightGBM
【历史上的今天】7 月 31 日:“缸中之脑”的提出者诞生;Wi-Fi 之父出生;USB 3.1 标准发布
RTL8762DK uses DebugAnalyzer (four)
Inheritance and friend, static member relationship
Qlib quantitative source analysis: qlib/qlib/contrib/model/GBDT py
数据中台建设(七):数据资产管理
YOLO怎么入门?怎么实现自己的训练集?
By Value or By Reference
Redis五种数据类型简介
精心总结十三条建议,帮你创建更合适的MySQL索引
Web3.0: Building an NFT Market (1)
Google engineer fired for claiming AI awareness: breach of nondisclosure agreement
Matlab/ArcGIS processing GPM global monthly precipitation data
LeetCode--The problem of robbery
WAASAP WebClient UI页面标签的决定逻辑介绍
pycaret source code analysis: download dataset\Lib\site-packages\pycaret\datasets.py