MySql 未完成升级错误

MySql 未完成升级错误

每次升级 apt 时我都会遇到以下错误。mysql 服务器经常宕机。我尝试使用 mysqlpump 备份我的数据库,但此备份不包含表值。只有表构造。我该如何修复此问题

This installation of MySQL is already upgraded to 5.7.29, use --force if you still need to run mysql_upgrade
Error: Unable to shut down server with process id 32298
dpkg: error processing package mysql-server-5.7 (--configure):
 installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 mysql-server-5.7
E: Sub-process /usr/bin/dpkg returned an error code (1)

相关内容