mysql job failed to start_修改my.cnf后,mysql不能启动,提示“start: Job failed to start”...

1)在my.cnf的mysqld块中加入以下三行配置后,重启mysql,不能正常启动提示“start:Jobfailedtostart”innodb_doublewrite=1innodb_flush_log_at_trx_commit=1sync_binlog=12)err.lo...

1)在my.cnf的mysqld块中加入以下三行配置后,重启mysql,不能正常启动提示“start: Job failed to start”

innodb_doublewrite=1

innodb_flush_log_at_trx_commit=1

sync_binlog=1

2)err.log的内容如下所示

130918 13:52:34 [Note] /usr/sbin/mysqld: Normal shutdown

130918 13:52:34 [Note] Event Scheduler: Purging the queue. 0 events

130918 13:52:36 [Warning] /usr/sbin/mysqld: Forcing close of thread 1854 user: 'test'

130918 13:52:36 [Warning] /usr/sbin/mysqld: Forcing close of thread 1853 user: 'test'

130918 13:52:36 [Warning] /usr/sbin/mysqld: Forcing close of thread 1852 user: 'test'

130918 13:52:36 [Warning] /usr/sbin/mysqld: Forcing close of thread 1851 user: 'test'

130918 13:52:36 [Warning] /usr/sbin/mysqld: Forcing close of thread 1850 user: 'test'

130918 13:52:36 [Warning] /usr/sbin/mysqld: Forcing close of thread 1849 user: 'test'

130918 13:52:37 InnoDB: Starting shutdown...

130918 13:52:38 InnoDB: Waiting for 11 pages to be flushed

130918 13:52:41 InnoDB: Shutdown completed; log sequence number 152979412

130918 13:52:41 [Note] /usr/sbin/mysqld: Shutdown complete

3)将新加入的三行配置注掉,再重启mysql,还是报一样的错误,并且日志不记新的了。

求解答,特别着急,在线等,谢谢各位·!

展开

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值