本帖最后由 imergang 于 2011-02-18 19:49:32 编辑

解决方案 »

  1.   

    装了两个mysql?
    先得确认哪个在工作。
      

  2.   

    看一下MYSQL的错误日志,贴出来以供分析。
      

  3.   

    把此命令结果贴上来看看
    Show engine innodb status\G;
      

  4.   

    [code=SQ]110218 17:53:09 [Note] Plugin 'FEDERATED' is disabled.
    InnoDB: The first specified data file D:\MySQL Datafiles\ibdata1 did not exist:
    InnoDB: a new database to be created!
    110218 17:53:09  InnoDB: Setting file D:\MySQL Datafiles\ibdata1 size to 10 MB
    InnoDB: Database physically writes the file full: wait...
    InnoDB: Error: log file .\ib_logfile0 is of different size 0 25165824 bytes
    InnoDB: than specified in the .cnf file 0 10485760 bytes!
    110218 17:53:09 [ERROR] Plugin 'InnoDB' init function returned error.
    110218 17:53:09 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    110218 17:53:09 [ERROR] Unknown/unsupported table type: INNODB
    110218 17:53:09 [ERROR] Aborting110218 17:53:09 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Shutdown complete110218 18:05:19 [Note] Plugin 'FEDERATED' is disabled.
    InnoDB: Error: log file .\ib_logfile0 is of different size 0 25165824 bytes
    InnoDB: than specified in the .cnf file 0 10485760 bytes!
    110218 18:05:19 [ERROR] Plugin 'InnoDB' init function returned error.
    110218 18:05:19 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    110218 18:05:19 [ERROR] Unknown/unsupported table type: INNODB
    110218 18:05:19 [ERROR] Aborting110218 18:05:19 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Shutdown complete110218 18:13:17 [Note] Plugin 'FEDERATED' is disabled.
    InnoDB: Error: log file .\ib_logfile0 is of different size 0 25165824 bytes
    InnoDB: than specified in the .cnf file 0 10485760 bytes!
    110218 18:13:17 [ERROR] Plugin 'InnoDB' init function returned error.
    110218 18:13:17 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    110218 18:13:17 [ERROR] Unknown/unsupported table type: INNODB
    110218 18:13:17 [ERROR] Aborting110218 18:13:17 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Shutdown complete110218 18:14:35 [Note] Plugin 'FEDERATED' is disabled.
    InnoDB: Error: log file .\ib_logfile0 is of different size 0 25165824 bytes
    InnoDB: than specified in the .cnf file 0 10485760 bytes!
    110218 18:14:35 [ERROR] Plugin 'InnoDB' init function returned error.
    110218 18:14:35 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    110218 18:14:35 [ERROR] Unknown/unsupported table type: INNODB
    110218 18:14:35 [ERROR] Aborting110218 18:14:35 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Shutdown complete110218 18:21:22 [Note] Plugin 'FEDERATED' is disabled.
    InnoDB: Error: log file .\ib_logfile0 is of different size 0 25165824 bytes
    InnoDB: than specified in the .cnf file 0 10485760 bytes!
    110218 18:21:22 [ERROR] Plugin 'InnoDB' init function returned error.
    110218 18:21:22 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    110218 18:21:22 [ERROR] Unknown/unsupported table type: INNODB
    110218 18:21:22 [ERROR] Aborting110218 18:21:22 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Shutdown complete110218 18:27:05 [Note] Plugin 'FEDERATED' is disabled.
    InnoDB: Error: log file .\ib_logfile0 is of different size 0 25165824 bytes
    InnoDB: than specified in the .cnf file 0 10485760 bytes!
    110218 18:27:05 [ERROR] Plugin 'InnoDB' init function returned error.
    110218 18:27:05 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    110218 18:27:05 [ERROR] Unknown/unsupported table type: INNODB
    110218 18:27:05 [ERROR] Aborting110218 18:27:05 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Shutdown complete110218 18:34:10 [Note] Plugin 'FEDERATED' is disabled.
    InnoDB: Error: log file .\ib_logfile0 is of different size 0 25165824 bytes
    InnoDB: than specified in the .cnf file 0 10485760 bytes!
    110218 18:34:10 [ERROR] Plugin 'InnoDB' init function returned error.
    110218 18:34:10 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    110218 19:23:29 [Note] Plugin 'FEDERATED' is disabled.
    InnoDB: Error: log file .\ib_logfile0 is of different size 0 25165824 bytes
    InnoDB: than specified in the .cnf file 0 10485760 bytes!
    110218 19:23:30 [ERROR] Plugin 'InnoDB' init function returned error.
    110218 19:23:30 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    110218 21:29:24 [Note] Plugin 'FEDERATED' is disabled.
    InnoDB: Error: log file .\ib_logfile0 is of different size 0 25165824 bytes
    InnoDB: than specified in the .cnf file 0 10485760 bytes!
    110218 21:29:24 [ERROR] Plugin 'InnoDB' init function returned error.
    110218 21:29:24 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    110219  9:50:42 [Note] Plugin 'FEDERATED' is disabled.
    InnoDB: Error: log file .\ib_logfile0 is of different size 0 25165824 bytes
    InnoDB: than specified in the .cnf file 0 10485760 bytes!
    110219  9:50:42 [ERROR] Plugin 'InnoDB' init function returned error.
    110219  9:50:42 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    [/code]
      

  5.   

    回复3楼 因为mysql启动不了了 Show engine innodb status\G;命令无法执行 
    回复2楼 err日志太大了 只把这2天的帖了出来 这个文件在这里下载下载 保存7天
      

  6.   

    修改 C:\Program Files\MySQL\MySQL Server 5.1\my.ini

    innodb_data_file_path=ibdata1:autoextend
    innodb_log_file_size=25165824
    innodb_buffer_pool_size=1G
    试试
      

  7.   


    磁盘空间满了吧,把err日志删了再启吧。