mysql 启动报错 无法启动

mysql 报错内容

01:37:27 UTC - mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
Attempting to collect some information that could help diagnose the problem.
As this is a crash and something is definitely wrong, the information
collection process might fail.

key_buffer_size=8388608
read_buffer_size=131072
max_used_connections=0
max_threads=151
thread_count=0
connection_count=0
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 68190 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0 thread_stack 0x40000
mysqld(my_print_stacktrace+0x2c)[0xe7c79c]
2022-01-18T01:37:27.030099Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2022-01-18T01:37:27.030130Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-01-18T01:37:27.030164Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysqld(handle_fatal_signal+0x459)[0x7a8909]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf8d0)[0x7f169db5a8d0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7f169c563067]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f169c564448]
mysqld[0x77ebf7]
mysqld(_Z18flst_insert_beforePhS_S_P5mtr_t+0xe3)[0x11da1b3]
mysqld(_Z14flst_add_firstPhS_P5mtr_t+0x1c1)[0x11da6a1]
mysqld(_Z36trx_purge_add_update_undo_to_historyP5trx_tP14trx_undo_ptr_tPhbmP5mtr_t+0x15c)[0x10ba1bc]
mysqld(_Z23trx_undo_update_cleanupP5trx_tP14trx_undo_ptr_tPhbmP5mtr_t+0x1f)[0x10ec7cf]
mysqld(_Z31trx_write_serialisation_historyP5trx_tP5mtr_t+0x350)[0x10e4570]
mysqld(_Z14trx_commit_lowP5trx_tP5mtr_t+0x4b)[0x10e4ffb]
mysqld(_Z10trx_commitP5trx_t+0x104)[0x10e5974]
mysqld(_Z31trx_rollback_or_clean_recoveredm+0xd4a)[0x10d41ba]
mysqld(trx_rollback_or_clean_all_recovered+0x49)[0x10d5039]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x80a4)[0x7f169db530a4]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f169c61662d]
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.

解决方案

cd /var/lib/mysql
mkdir backmysql
mv *ib* backmysql
service mysqld start
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值