启动的时候显示Timeout error occurred trying to start MySQL Daemon.

xqi8 2008-11-15 11:28:54
启动的时候显示:
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
...全文
3550 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
picture1213 2011-12-16
  • 打赏
  • 举报
回复
3楼哥,相当牛,
执行一下命令:
kill -9 `ps aux | grep 3306 | grep -v 'grep' | awk '{print $2}'`

完了后再重新启动MySQL就可以了。
xqi8 2008-11-16
  • 打赏
  • 举报
回复
arguments must be process or job IDS
boboo_2000_0 2008-11-15
  • 打赏
  • 举报
回复
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

上面这些可以看出你机器上的3306端口被占用,可以用netstat -an先看看端口信息再试一下。
懒得去死 2008-11-15
  • 打赏
  • 举报
回复
执行一下命令:
kill -9 `ps aux | grep 3306 | grep -v 'grep' | awk '{print $2}'`

完了后再重新启动MySQL就可以了。
xqi8 2008-11-15
  • 打赏
  • 举报
回复
我用mysql的命令行能进去啊。

56,687

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧