我以前安装过,卸载以后就再也按不上去了,我知道可能是卸载不完全,但是不知道怎么解决。
总是到了最后一步提示无法启动服务了,
报的错误是:
Could not start the service MySQL.Error:0高手帮忙解决一下,谢谢!

解决方案 »

  1.   

    检查一下你的mysql错误日志中的信息。
      

  2.   

    在哪看了,小弟很少用mysql,对mysql不是很熟悉
      

  3.   

    到你的 C:\Program Files\MySQL\MySQL Server 5.1\ 看一下 my.ini 文件的内容,其中找出 datadir 对应目录。然后到这个目录中去找一个 *.err 的文件,打开,然后把内容贴出来。
      

  4.   

    将原来MYSQL目录删除,在注册表中删除所有有关MYSQL在项
      

  5.   

    InnoDB: The first specified data file C:\MySQL Datafiles\ibdata1 did not exist:
    InnoDB: a new database to be created!
    091221 16:14:08  InnoDB: Setting file C:\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 10485760 bytes
    InnoDB: than specified in the .cnf file 0 25165824 bytes!
    091221 16:14:09 [ERROR] Plugin 'InnoDB' init function returned error.
    091221 16:14:09 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    091221 16:14:09 [ERROR] Unknown/unsupported table type: INNODB
    091221 16:14:09 [ERROR] Aborting091221 16:14:09 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Shutdown complete091221 16:31:41  InnoDB: Error: unable to create temporary file; errno: 2
    091221 16:31:41 [ERROR] Plugin 'InnoDB' init function returned error.
    091221 16:31:41 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    091221 16:31:41 [ERROR] Unknown/unsupported table type: INNODB
    091221 16:31:41 [ERROR] Aborting091221 16:31:41 [Note] mysqld: Shutdown complete091221 16:32:10  InnoDB: Error: unable to create temporary file; errno: 2
    091221 16:32:10 [ERROR] Plugin 'InnoDB' init function returned error.
    091221 16:32:10 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    091221 16:32:10 [ERROR] Unknown/unsupported table type: INNODB
    091221 16:32:10 [ERROR] Aborting091221 16:32:10 [Note] mysqld: Shutdown completeInnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760 bytes
    InnoDB: than specified in the .cnf file 0 25165824 bytes!
    091221 16:32:28 [ERROR] Plugin 'InnoDB' init function returned error.
    091221 16:32:28 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    091221 16:32:28 [ERROR] Unknown/unsupported table type: INNODB
    091221 16:32:28 [ERROR] Aborting091221 16:32:28 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Shutdown completeInnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760 bytes
    InnoDB: than specified in the .cnf file 0 25165824 bytes!
    091221 16:33:15 [ERROR] Plugin 'InnoDB' init function returned error.
    091221 16:33:15 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    091221 16:33:15 [ERROR] Unknown/unsupported table type: INNODB
    091221 16:33:15 [ERROR] Aborting091221 16:33:15 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Shutdown completeInnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760 bytes
    InnoDB: than specified in the .cnf file 0 25165824 bytes!
    091221 16:33:28 [ERROR] Plugin 'InnoDB' init function returned error.
    091221 16:33:28 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    091221 16:33:28 [ERROR] Unknown/unsupported table type: INNODB
    091221 16:33:28 [ERROR] Aborting091221 16:33:28 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Shutdown completeInnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760 bytes
    InnoDB: than specified in the .cnf file 0 25165824 bytes!
    091221 16:45:12 [ERROR] Plugin 'InnoDB' init function returned error.
    091221 16:45:12 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    091221 16:45:12 [ERROR] Unknown/unsupported table type: INNODB
    091221 16:45:12 [ERROR] Aborting091221 16:45:12 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Shutdown complete091221 16:45:29  InnoDB: Error: unable to create temporary file; errno: 2
    091221 16:45:29 [ERROR] Plugin 'InnoDB' init function returned error.
    091221 16:45:29 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    091221 16:45:29 [ERROR] Unknown/unsupported table type: INNODB
    091221 16:45:29 [ERROR] Aborting091221 16:45:29 [Note] mysqld: Shutdown complete091221 16:45:44  InnoDB: Error: unable to create temporary file; errno: 2
    091221 16:45:44 [ERROR] Plugin 'InnoDB' init function returned error.
    091221 16:45:44 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    091221 16:45:44 [ERROR] Unknown/unsupported table type: INNODB
    091221 16:45:44 [ERROR] Aborting091221 16:45:44 [Note] mysqld: Shutdown completeInnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760 bytes
    InnoDB: than specified in the .cnf file 0 25165824 bytes!
    091221 16:46:00 [ERROR] Plugin 'InnoDB' init function returned error.
    091221 16:46:00 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    091221 16:46:00 [ERROR] Unknown/unsupported table type: INNODB
    091221 16:46:00 [ERROR] Aborting091221 16:46:00 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Shutdown complete
      

  6.   

    似乎是INNODB日志与数据文件不匹配
      

  7.   

    检查一下你的 C:\MySQL Datafiles 目录的权限设置。授给 everyone FULL的权限然后再试一下。
      

  8.   

    将原来MYSQL目录删除,在注册表中删除所有有关MYSQL的项,用清理注册表的软件整理一下,
    在你的系统盘中搜索所有MYSQL的文件,KILL
      

  9.   

    把服务里面以前遗留的 mysql  干掉
      

  10.   

    在注册表中查找mysql关键字,全删掉,再重装就欧了
      

  11.   

    我终于把MySQL装在win7上了,好难啊