启动的时候显示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
------解决方案--------------------
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先看看端口信息再试一下。