页面树结构

版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

(本文档仅供参考)

问题:

系统重启一直访问不了系统,看日志提示数据库连接不上,手动重启mysql服务,又能正常访问数据库,但是用smartbi一键启动就会自动Kill掉Mysql进程,导致服务启动不成功。系统重启一直访问不了系统,看日志提示数据库连接不上,手动重启mysql服务,又能正常访问数据库,但是用smartbi一键启动就会自动Kill掉Mysql进程,导致服务启动不成功。MySQL是exe一键安装部署带的MySQL。

解决方案:

尝试多次后,发现问题出在mysql那,查看mysql日志报错如下:此问题一般是t_oprenrationlog表太大了导致的,一般MySQL日志会有报错,如下:

InnoDB: Trying to access page number 542272 in space 1580, space name smartbidemo/t_operationlog, which is outside the tablespace bounds. Byte offset 0, len 16384, i/o type read. If you get this error at mysqld startup, please check that your my.cnf matches the ibdata files that you have in the MySQL server.2024-06-17T07:55:51.752868Z 2 [ERROR] InnoDB: Server exits smartbidemo/t_operationlog表过大(9G多)(smartbi的操作日志表),导致smartbi在启动加载这个表时,导致mysql服务挂掉,从而smartbi连接知识库失败,启动失败

...