mysql启动失败 time out_mysql启动 Timeout error occurred trying to start MySQL Daemon.

启动的时候显示:

Timeout error occurred trying to start MySQL Daemon.

log:

081115 00:00:58  mysqld started

081115  0:01:00  InnoDB: Database was not shut down normally!

InnoDB: Starting crash recovery.

InnoDB: Reading tablespace information from the .ibd files...

InnoDB: Restoring possible half-written data pages from the doublewrite

InnoDB: buffer...

081115  0:01:00  InnoDB: Starting log scan based on checkpoint at

InnoDB: log sequence number 0 43634.

InnoDB: Doing recovery: scanned up to log sequence number 0 43634

081115  0:01:00  InnoDB: Flushing modified pages from the buffer pool...

081115  0:01:00  InnoDB: Started; log sequence number 0 43634

/usr/libexec/mysqld: ready for connections.

Version: '4.1.11'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution

081115  0:01:47 [Note] /usr/libexec/mysqld: Normal shutdown

081115  0:01:47  InnoDB: Starting shutdown...

081115  0:01:48  InnoDB: Shutdown completed; log sequence number 0 43634

081115  0:01:48 [Note] /usr/libexec/mysqld: Shutdown complete

081115 00:01:48  mysqld ended

081115 00:23:25  mysqld started

081115  0:23:26  InnoDB: Started; log sequence number 0 43634

/usr/libexec/mysqld: ready for connections.

Version: '4.1.11'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution

081115 00:30:36  mysqld started

081115  0:30:36 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use

081115  0:30:36 [ERROR] Do you already have another mysqld server running on port: 3306 ?

081115  0:30:36 [ERROR] Aborting

081115  0:30:36 [Note] /usr/libexec/mysqld: Shutdown complete

081115 00:30:36  mysqld ended

081115 00:34:36  mysqld started

081115  0:34:36 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use

081115  0:34:36 [ERROR] Do you already have another mysqld server running on port: 3306 ?

081115  0:34:36 [ERROR] Aborting

081115  0:34:36 [Note] /usr/libexec/mysqld: Shutdown complete

|

已经有启动的Mysql进程在运行了!

出现这个提示,要么是你在重复启动mysql,要么是上次mysql是非正常关闭的,导致'锁文件(/var/lib/mysql/mysql.sock)及共享内存(ipcs命令可查看)未被清除。

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值