首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >设备防止mysql启动

设备防止mysql启动
EN

Database Administration用户
提问于 2018-10-22 09:49:58
回答 1查看 261关注 0票数 0

我试图在mysql 5.5上启动ubuntu 14.04服务,但失败了。

我在dmesg中注意到以下错误:

代码语言:javascript
复制
[ 1201.519101] init: mysql post-start process (22140) terminated with status 1
[ 1201.539004] init: mysql main process (22165) terminated with status 1
[ 1201.539016] init: mysql main process ended, respawning
[ 1201.542554] init: mysql post-start process (22166) terminated with status 1
[ 1201.562121] init: mysql main process (22196) terminated with status 1
[ 1201.562134] init: mysql respawning too fast, stopped

我该怎么解决这个问题?

我最近对my.cnfinnodb相关的配置做了一些更改,以防这导致问题:

代码语言:javascript
复制
# Read the manual for more InnoDB related options. There are many!
innodb_read_io_threads          = 16
innodb_write_io_threads         = 16  #To stress the double write buffer
innodb_buffer_pool_size         = 28000M
# innodb_log_file_size          = 256M #Small log files, more page flush
innodb_log_files_in_group       = 2
innodb_file_per_table           = 1
# innodb_log_buffer_size            = 512M
innodb_flush_method         = O_DIRECT
innodb_flush_log_at_trx_commit      = 0
innodb_file_format          = BARRACUDA
# innodb_log_file_size          = 512M
EN

回答 1

Database Administration用户

发布于 2018-10-23 15:15:28

在网上搜索

代码语言:javascript
复制
mysql apparmor

有很多解决办法。有几种可能性:

https://askubuntu.com/a/953988

https://serverfault.com/questions/896653/how-do-i-get-the-right-apparmor-profile-for-mysql-on-ubuntu

您不应该需要禁用或删除设备。

票数 1
EN
页面原文内容由Database Administration提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://dba.stackexchange.com/questions/220712

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档