WDCP MYSQL 5.5.44 升级故障处理一例

本文涉及的产品
云数据库 RDS MySQL,集群系列 2核4GB
推荐场景:
搭建个人博客
RDS MySQL Serverless 基础系列,0.5-2RCU 50GB
云数据库 RDS PostgreSQL,集群系列 2核4GB
简介: WDCP MYSQL 5.5.44 升级故障处理一例
wget http://down.wdlinux.cn/in/mysql_up55.sh
sh
mysql_up55.sh
190803 22:18:40 mysqld_safe Starting mysqld daemon with databases from /www/wdlinux/mysql/var
190803 22:18:40 [Note] /www/wdlinux/mysql-5.5.44/bin/mysqld (mysqld 5.5.44) starting as process 3931 …
190803 22:18:40 InnoDB: The InnoDB memory heap is disabled
190803 22:18:40 InnoDB: Mutexes and rw_locks use GCC atomic builtins
190803 22:18:40 InnoDB: Compressed tables use zlib 1.2.3
190803 22:18:40 InnoDB: Initializing buffer pool, size = 128.0M
190803 22:18:40 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
190803 22:18:40 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait…
190803 22:18:40 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait…
190803 22:18:41 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait…
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
190803 22:18:41 InnoDB: Waiting for the background threads to start
190803 22:18:42 InnoDB: 5.5.44 started; log sequence number 0
190803 22:18:42 [Note] Server hostname (bind-address): ‘0.0.0.0’; port: 3306
190803 22:18:42 [Note] - ‘0.0.0.0’ resolves to ‘0.0.0.0’;
190803 22:18:42 [Note] Server socket created on IP: ‘0.0.0.0’.
190803 22:18:42 [Note] Event Scheduler: Loaded 0 events
190803 22:18:42 [Note] /www/wdlinux/mysql-5.5.44/bin/mysqld: ready for connections.
Version: ‘5.5.44’ socket: ‘/tmp/mysql.sock’ port: 3306 Source distribution
190803 22:19:10 [ERROR] /www/wdlinux/mysql-5.5.44/bin/mysqld: Can’t find file: ‘./api_server/api_item_log.frm’ (errno: 13)
190803 22:20:14 [ERROR] /www/wdlinux/mysql-5.5.44/bin/mysqld: Can’t find file: ‘./api_server/api_item_log.frm’ (errno: 13)
190803 22:20:36 [ERROR] /www/wdlinux/mysql-5.5.44/bin/mysqld: Can’t find file: ‘./api_server/api_item_log.frm’ (errno: 13)
190803 22:20:38 [ERROR] /www/wdlinux/mysql-5.5.44/bin/mysqld: Can’t find file: ‘./api_server/api_item_log.frm’ (errno: 13)
190803 22:22:56 [Note] /www/wdlinux/mysql-5.5.44/bin/mysqld: Normal shutdown
190803 22:22:56 [Note] Event Scheduler: Purging the queue. 0 events
190803 22:22:56 InnoDB: Starting shutdown…
190803 22:22:56 InnoDB: Shutdown completed; log sequence number 1595675
190803 22:22:56 [Note] /www/wdlinux/mysql-5.5.44/bin/mysqld: Shutdown complete
/www/wdlinux/mysql/var/数据库未复制完成,删除里面没有复制完整的数据库
相关实践学习
如何快速连接云数据库RDS MySQL
本场景介绍如何通过阿里云数据管理服务DMS快速连接云数据库RDS MySQL,然后进行数据表的CRUD操作。
全面了解阿里云能为你做什么
阿里云在全球各地部署高效节能的绿色数据中心,利用清洁计算为万物互联的新世界提供源源不断的能源动力,目前开服的区域包括中国(华北、华东、华南、香港)、新加坡、美国(美东、美西)、欧洲、中东、澳大利亚、日本。目前阿里云的产品涵盖弹性计算、数据库、存储与CDN、分析与搜索、云通信、网络、管理与监控、应用服务、互联网中间件、移动服务、视频服务等。通过本课程,来了解阿里云能够为你的业务带来哪些帮助     相关的阿里云产品:云服务器ECS 云服务器 ECS(Elastic Compute Service)是一种弹性可伸缩的计算服务,助您降低 IT 成本,提升运维效率,使您更专注于核心业务创新。产品详情: https://www.aliyun.com/product/ecs
相关文章
|
10月前
|
存储 缓存 关系型数据库
鱼和熊掌如何兼得?一文解析RDS数据库存储架构升级
阿里云RDS率先推出新型存储类型通用云盘,提供低延迟、低成本、高持久性的用户体验。
鱼和熊掌如何兼得?一文解析RDS数据库存储架构升级
|
10月前
|
监控 关系型数据库 MySQL
mysql升级和降级
mysql升级和降级
351 9
|
10月前
|
存储 关系型数据库 MySQL
升级宝典!阿里云RDS MySQL助力MySQL5.7升级到8.0
2023年10月,社区MySQL5.7停服。阿里云RDS MySQL对MySQL5.7的服务将进行到2024年10月21日,同时,并将通过有效的方案和大量的升级经验,鼓励和助力广大企业和开发者将MySQL5.7升级到MySQL8.0。
|
10月前
|
SQL 关系型数据库 MySQL
【MySQL技术专题】「问题实战系列」深入探索和分析MySQL数据库的数据备份和恢复实战开发指南(8.0版本升级篇)
【MySQL技术专题】「问题实战系列」深入探索和分析MySQL数据库的数据备份和恢复实战开发指南(8.0版本升级篇)
282 0
|
3月前
|
关系型数据库 MySQL Linux
MySQL版本升级(8.0.31->8.0.37)
本次升级将MySQL从8.0.31升级到8.0.37,采用就地升级方式。具体步骤包括:停止MySQL服务、备份数据目录、下载并解压新版本的RPM包,使用`yum update`命令更新已安装的MySQL组件,最后启动MySQL服务并验证版本。整个过程需确保所有相关RPM包一同升级,避免部分包遗漏导致的问题。官方文档提供了详细指导,确保升级顺利进行。
410 16
|
3月前
|
关系型数据库 MySQL Linux
升级到MySQL 8.4,MySQL启动报错:io_setup() failed with EAGAIN
当MySQL 8.4启动时报错“io_setup() failed with EAGAIN”时,通常是由于系统AIO资源不足所致。通过增加AIO上下文数量、调整MySQL配置、优化系统资源或升级内核版本,可以有效解决这一问题。上述解决方案详细且实用,能够帮助管理员快速定位并处理此类问题,确保数据库系统的正常运行。
171 9
|
5月前
|
监控 关系型数据库 MySQL
如何升级MySQL数据库?
【10月更文挑战第16天】如何升级MySQL数据库?
|
6月前
|
监控 关系型数据库 MySQL
如何升级mysql的版本
如何升级mysql的版本
871 2
|
6月前
|
存储 监控 关系型数据库
如何升级MySQL版本?
如何升级MySQL版本?
440 2
|
9月前
|
SQL 关系型数据库 MySQL
使用mysql数据库的binlog应对故障
【6月更文挑战第1天】本文介绍`mysql的 binlog`工具用于解析MySQL的二进制日志,转换为可执行的SQL语句,主要用于数据库主从复制和增量恢复。定期备份和binlog推送能实现故障时的数据恢复。
390 9
使用mysql数据库的binlog应对故障