当前位置:网站首页>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
边栏推荐
- WebApi hits an Attribute to handle exceptions uniformly
- pycaret源码分析:下载数据集\Lib\site-packages\pycaret\datasets.py
- Super like the keyboard made from zero, IT people love it
- Nmap Operation Manual - Full Version
- MYSQL关键字Explain解析
- Rasa 3.x Study Series - Rasa - Issues 4918 Study Notes
- Web3.0:构建 NFT 市场(一)
- RTL8762DK PWM (seven)
- MYSQL索引解析
- leetcode:1562. 查找大小为 M 的最新分组【模拟 + 端点记录 + 范围合并】
猜你喜欢
Automated machine learning pycaret: PyCaret Basic Auto Classification LightGBM
RTL8762DK UART(二)
JVM面试题总结(持续更新中)
清华大学陈建宇教授团队 | 基于接触丰富机器人操作的接触安全强化学习框架
MYSQL Index Analysis
Southern University of Science and Technology: Xiaoying Tang | AADG: Automatic Enhancement for Generalization in the Field of Retinal Image Segmentation
Academicians of the two academies speak bluntly: Don't be superstitious about academicians
机器学习初学者可以学哪些实战项目?
现代企业架构框架1
RTL8762DK RTC (5)
随机推荐
MVCC总结
Super like the keyboard made from zero, IT people love it
500 miles
Rainbow share | how to use moving targets defense technology to guard against the unknown
Qlib quantitative source analysis: qlib/qlib/contrib/model/GBDT py
Google engineer fired for claiming AI awareness: breach of nondisclosure agreement
RTL8762DK PWM(七)
MYSQL主从复制
元宇宙改变人类工作模式的四种方式
ROS2系列知识(4): 理解【服务】的概念
WeChat applet page syntax
Rasa 3.x 学习系列- Rasa - Issues 4918 学习笔记
Force buckle 2326, 197
RTL8762DK uses DebugAnalyzer (four)
sqlserver无法远程连接
You need to know the TCP wave four times
leetcode:1648. 销售价值减少的颜色球【二分找边界】
谷歌『云开发者速查表』;清华3D人体数据集;商汤『通用视觉框架』公开课;Web3极简入门指南;高效深度学习免费书;前沿论文 | ShowMeAI资讯日报
ECCV2022 Workshop | 复杂环境中的多目标跟踪和分割
Compose principle - the view and the principle of two-way data binding