MySQL进程常见的State【转】

  • Post author:
  • Post category:mysql

为了查阅方便,做个笔记。 通过show processlist查看MySQL的进程状态,在State列上面的状态有如下这些: Analyzing线程对MyISAM 表的统计信息做分析(例如, ANALYZE TABLE )。checking permissions线程检查服务器是否具有所需的权限来执行该语句。Checking table线程正在执行表检查操作。cleaning up线程处理一个命令…

继续阅读 MySQL进程常见的State【转】

Mysql 异常:Lock wait timeout exceeded; try restarting transaction的解决办法

  • Post author:
  • Post category:mysql

问题现象   接口响应时间超长,耗时几十秒才返回错误提示,后台日志中出现Lock wait timeout exceeded; try restarting transaction的错误 <-- java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction at com.mysql.jdbc.SQL…

继续阅读 Mysql 异常:Lock wait timeout exceeded; try restarting transaction的解决办法

MYSQL InnoDB: Ignoring the redo log due to missing MLOG_CHECKPOINT between the checkpoint 124885680

  • Post author:
  • Post category:mysql

进入:cd /var/lib/mysql   删除:rm -rf ib_logfile0 ib_logfile1  版权声明:本文为walykyy原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。原文链接:https://blog.csdn.net/walykyy/article/details/104291451

继续阅读 MYSQL InnoDB: Ignoring the redo log due to missing MLOG_CHECKPOINT between the checkpoint 124885680