新年过来 服务器莫名自动更新,更新后 mysql就不正常了
显示 是启动  着  但是就是连接不上 ,想重启 又不能请大神 解惑

解决方案 »

  1.   

    下面是 今天的 mysql 错误日志
    130216 11:11:01 [Note] Plugin 'FEDERATED' is disabled.
    130216 11:11:01 InnoDB: The InnoDB memory heap is disabled
    130216 11:11:01 InnoDB: Mutexes and rw_locks use Windows interlocked functions
    130216 11:11:01 InnoDB: Compressed tables use zlib 1.2.3
    130216 11:11:02 InnoDB: Initializing buffer pool, size = 300.0M
    130216 11:11:02 InnoDB: Completed initialization of buffer pool
    130216 11:11:02 InnoDB: highest supported file format is Barracuda.
    InnoDB: The log sequence number in ibdata files does not match
    InnoDB: the log sequence number in the ib_logfiles!
    130216 11:11:02  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...
    130216 11:11:03  InnoDB: Waiting for the background threads to start
    130216 11:11:04 InnoDB: 1.1.8 started; log sequence number 2841336
    130216 11:11:05 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
    130216 11:11:05 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
    130216 11:11:05 [Note] Server socket created on IP: '0.0.0.0'.
    130216 12:03:25 [Note] Event Scheduler: Loaded 0 events
    130216 12:03:25 [Note] C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: ready for connections.
    Version: '5.5.27'  socket: ''  port: 3306  MySQL Community Server (GPL)
    130216 12:05:25 [Note] Plugin 'FEDERATED' is disabled.
    130216 12:05:25 InnoDB: The InnoDB memory heap is disabled
    130216 12:05:25 InnoDB: Mutexes and rw_locks use Windows interlocked functions
    130216 12:05:25 InnoDB: Compressed tables use zlib 1.2.3
    130216 12:05:26 InnoDB: Initializing buffer pool, size = 300.0M
    130216 12:05:26 InnoDB: Completed initialization of buffer pool
    130216 12:05:26 InnoDB: highest supported file format is Barracuda.
    InnoDB: The log sequence number in ibdata files does not match
    InnoDB: the log sequence number in the ib_logfiles!
    130216 12:05:26  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...
    130216 12:05:27  InnoDB: Waiting for the background threads to start
    130216 12:05:28 InnoDB: 1.1.8 started; log sequence number 2841336
    130216 12:05:28 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
    130216 12:05:28 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
    130216 12:05:28 [Note] Server socket created on IP: '0.0.0.0'.
    130216 12:53:47 [Note] Event Scheduler: Loaded 0 events
    130216 12:53:47 [Note] C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: ready for connections.
    Version: '5.5.27'  socket: ''  port: 3306  MySQL Community Server (GPL)
    130216 12:55:19 [Note] Plugin 'FEDERATED' is disabled.
    130216 12:55:20 InnoDB: The InnoDB memory heap is disabled
    130216 12:55:20 InnoDB: Mutexes and rw_locks use Windows interlocked functions
    130216 12:55:20 InnoDB: Compressed tables use zlib 1.2.3
    130216 12:55:21 InnoDB: Initializing buffer pool, size = 300.0M
    130216 12:55:21 InnoDB: Completed initialization of buffer pool
    130216 12:55:22 InnoDB: highest supported file format is Barracuda.
    InnoDB: The log sequence number in ibdata files does not match
    InnoDB: the log sequence number in the ib_logfiles!
    130216 12:55:22  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...
    130216 12:55:23  InnoDB: Waiting for the background threads to start
    130216 12:55:24 InnoDB: 1.1.8 started; log sequence number 2841336
    130216 12:55:24 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
    130216 12:55:24 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
    130216 12:55:24 [Note] Server socket created on IP: '0.0.0.0'.
    130216 13:44:22 [Note] Event Scheduler: Loaded 0 even
      

  2.   

    130216 12:55:24 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306显示正常啊,你是如何确定无法连接的?另外你可以直接在任务管理器中检查一下是否有 mysqld.exe
      

  3.   

    用cmd  输入命令 就连接不上
    用php也连接不上