安装MYSQL的时候一直卡在starting server这里,求破
之前在网上看到过一个帖子说是到这里的时候禁用某个服务就可以了,然后当时也成功了
但是现在找不到这个帖子了
求破 先谢谢了
详情请看截图

解决方案 »

  1.   

    在MYSQL的安装目录下找到MYSQL的错误日志,然后用记事本打开,并复制内容贴到贴子中以供分析。
      

  2.   

    点旁边的log按钮,看卡在什么地方了
      

  3.   

    below are the logs:
    Beginning configuration step: Stopping Server [if necessary]
    Ended configuration step: Stopping Server [if necessary]Beginning configuration step: Writing configuration file
    Ended configuration step: Writing configuration fileBeginning configuration step: Updating firewall
    Adding firewall rule for MYSQL56 on port 3306.
    Successfully added firewall rule.
    Ended configuration step: Updating firewallBeginning configuration step: Adjusting Windows service [if necessary]
    Attempting to grant Network Service require filesystem permissions.
    Granted permissions.
    Adding new service
    New service added
    Ended configuration step: Adjusting Windows service [if necessary]Beginning configuration step: Starting Server
    Starting MySQL as a service
      

  4.   


    同求
    Beginning configuration step: Stopping Server [if necessary]
    Ended configuration step: Stopping Server [if necessary]Beginning configuration step: Writing configuration file
    Ended configuration step: Writing configuration fileBeginning configuration step: Updating firewall
    Adding firewall rule for MySQL56 on port 3306.
    Successfully added firewall rule.
    Ended configuration step: Updating firewallBeginning configuration step: Adjusting Windows service [if necessary]
    Attempting to grant Network Service require filesystem permissions.
    Granted permissions.
    Adding new service
    New service added
    Ended configuration step: Adjusting Windows service [if necessary]Beginning configuration step: Starting Server
    Starting MySQL as a service
      

  5.   

    和楼主遇到一样问题,安装到在这步的时候总是卡在starting server,取消的话后面又会有问题。卸载并且清理C盘mysql相关文件和注册表再重装还是这样。难道除了重装系统没有别的办法?有没有大神帮忙解决一下?
      

  6.   

    问题还木有解决,我装到linux上去了
      

  7.   

    在阿里云服务器上安装也是遇到这个问题,快疯了。系统重置还是这样。WHY~!!!!防火墙我也没有打开的。
      

  8.   

    表示也出现同样的问题,防火墙也没开 ,注册表和相关的文件都删除了,XP系统的 装了N遍 请问有大牛帮忙解决下么~~~~~
      

  9.   

    楼主我和你一样的问题,今天解决了,你安装到这一步卡住之后打开C:\ProgramData\MySQL\MySQL Server 5.5\data下面的.err文件看看,用记事本打开,内容是否类似于:
    150318 10:33:48 [Note] Plugin 'FEDERATED' is disabled.
    150318 10:33:48 InnoDB: The InnoDB memory heap is disabled
    150318 10:33:48 InnoDB: Mutexes and rw_locks use Windows interlocked functions
    150318 10:33:48 InnoDB: Compressed tables use zlib 1.2.3
    150318 10:33:48  InnoDB: Error: unable to create temporary file; errno: 2
    150318 10:33:48 [ERROR] Plugin 'InnoDB' init function returned error.
    150318 10:33:48 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    150318 10:33:48 [ERROR] Unknown/unsupported storage engine: INNODB
    150318 10:33:48 [ERROR] Aborting
    如果是的话,那就在C:\ProgramData\MySQL\MySQL Server 5.5下面的my.ini最后加入一句:
    tmpdir="E:/MySqltemp"
    这个文件夹必须是已经建好的,然后再配置或者再装,再弄的时候就修改my.ini文件就可以成功执行了!
      

  10.   

    那个my.ini文件得等到问题出现了才会出现呀,然后加上tmpdir="E:/MySqltemp"又怎么能继续运行呢,我依然是卡在相同的位置啊,泪奔了。修改后怎么再配置啊?我的.err文件确实跟你说的一样的问题。可是还是不知道怎么弄啊。本人很菜,求指教,在线等
      

  11.   

    那个my.ini文件得等到问题出现了才会出现呀,然后加上tmpdir="E:/MySqltemp"又怎么能继续运行呢,我依然是卡在相同的位置啊,泪奔了。修改后怎么再配置啊?我的.err文件确实跟你说的一样的问题。可是还是不知道怎么弄啊。本人很菜,求指教,在线等
    就是等他出现,然后在最后一行改!
      

  12.   

    这个问题,我是这样解决的:安装到最后,不是一直启动中吗?不是启动不起来吗?那好,咱就手动启动它,打开服务,找到你的mysql服务,这时,应该是未启动的,右键,启动,成功后,回到安装页面,你会惊奇的发现,好了,一切都进展顺利,安装完成!希望,这个办法,也可以帮到你们!
      

  13.   

    根本原因是服务里面启动不了,手动启动还是自动启动都不行,IIS都删了,也没有旧文件,一样不行,真麻烦Mysql
      

  14.   

    那个my.ini文件得等到问题出现了才会出现呀,然后加上tmpdir="E:/MySqltemp"又怎么能继续运行呢,我依然是卡在相同的位置啊,泪奔了。修改后怎么再配置啊?我的.err文件确实跟你说的一样的问题。可是还是不知道怎么弄啊。本人很菜,求指教,在线等
    就是等他出现,然后在最后一行改!
    这样还是会卡住,这时可以手动开启服务,在服务中查找mysql然后启动即可。
    若发现后面还是会卡主,就取消,重新打开安装程序,点击Reconfigure等待my.ini出现后再重新配置,然后再手动启动服务即可
      

  15.   

    那个my.ini文件得等到问题出现了才会出现呀,然后加上tmpdir="E:/MySqltemp"又怎么能继续运行呢,我依然是卡在相同的位置啊,泪奔了。修改后怎么再配置啊?我的.err文件确实跟你说的一样的问题。可是还是不知道怎么弄啊。本人很菜,求指教,在线等
    就是等他出现,然后在最后一行改!
    这样还是会卡住,这时可以手动开启服务,在服务中查找mysql然后启动即可。
    若发现后面还是会卡主,就取消,重新打开安装程序,点击Reconfigure等待my.ini出现后再重新配置,然后再手动启动服务即可
    再顺便提一下,这样启动后root账号是不需要密码的
      

  16.   

    我昨天也是一直安装没有成功,提示这个信息,楼上的方法也试了,貌似不好用,我在C盘里把所有关于mysql文件删掉和清掉注册表里所有关于mysql的注册信息都不管用,期间安装删除重启了n次都不管用,实在没辙,我从官网上下载了mysql的免安装zip包,按照这个百度经验:http://jingyan.baidu.com/article/f3ad7d0ffc061a09c3345bf0.html,一次安装就成功了……
      

  17.   

    mysql卸载不彻底,再次安装就会出现这种情况。解决方法http://jingyan.baidu.com/article/22a299b51a43d49e19376aee.html
      

  18.   

    NIce 
      

  19.   

    我想问下,用MYSQL为啥不用linux的服务器,怎么都用windows
      

  20.   

     手动启动成功后  starting server 这一步好了 但是不继续安装了阿。
      

  21.   

    手动启动成功后  starting server 这一步好了 但是不继续安装了阿。同样遇到这个问题,不过把mysql server卸载了重新来一次就好啦。
      

  22.   

    xp系统不支持mysql5.7以上的
      

  23.   

    mysql服务手动启动不成功    还有别的方法解决吗?  求大神
      

  24.   

    2016-07-23T21:39:36.800300Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
    2016-07-23T21:39:38.820672Z 0 [Warning] InnoDB: New log files created, LSN=45790
    2016-07-23T21:39:39.307969Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
    2016-07-23T21:39:39.558646Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: f5786c18-511d-11e6-bbe7-4ccc6a3caba9.
    2016-07-23T21:39:39.629853Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
    2016-07-23T21:39:39.715077Z 1 [Note] A temporary password is generated for root@localhost: uy!Ch+eHv0wo
      

  25.   

    Beginning configuration step: Stopping Server [if necessary]
    Ended configuration step: Stopping Server [if necessary]Beginning configuration step: Writing configuration file
    Ended configuration step: Writing configuration fileBeginning configuration step: Updating firewall
    Adding firewall rule for MySQL57 on port 3306.
    Successfully added firewall rule.
    Ended configuration step: Updating firewallBeginning configuration step: Adjusting Windows service [if necessary]
    Attempting to grant Network Service require filesystem permissions.
    Granted permissions.
    Adding new service
    New service added
    Ended configuration step: Adjusting Windows service [if necessary]Beginning configuration step: Initializing Database [if necessary]
    Deleting Data folder shipped
    Attempting to run MySQL Server with --Initialize-insecure
    Running process: C:\Program Files (x86)\MySQL\MySQL Server 5.7\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" --initialize-insecure=on --console
    Waiting for the server stops: C:\Program Files (x86)\MySQL\MySQL Server 5.7\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" --initialize-insecure=on --console
    2016-10-19T12:53:56.992807Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
    2016-10-19T12:53:56.992807Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
    2016-10-19T12:54:03.080116Z 0 [Warning] InnoDB: New log files created, LSN=45790
    2016-10-19T12:54:04.660279Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
    mysqld: File '.\鏉庡€?slow.log' not found (Errcode: 2 - No such file or directory)
    2016-10-19T12:54:04.905418Z 0 [ERROR] Could not use 鏉庡€?slow.log for logging (error 2 - No such file or directory). Turning logging off for the server process. To turn it on again: fix the cause, then either restart the query logging by using "SET GLOBAL SLOW_QUERY_LOG=ON" or restart the MySQL server.
    2016-10-19T12:54:04.923429Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 1db6cdae-95fb-11e6-832b-40167e95efb6.
    2016-10-19T12:54:05.033505Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
    2016-10-19T12:54:05.073536Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
    Finished initialize database
    Ended configuration step: Initializing Database [if necessary]Beginning configuration step: Starting Server
    Starting MySQL as a service
    这个也是卡在这里
      

  26.   

    Beginning configuration step: Stopping Server [if necessary]
    Ended configuration step: Stopping Server [if necessary]Beginning configuration step: Writing configuration file
    Ended configuration step: Writing configuration fileBeginning configuration step: Updating firewall
    Adding firewall rule for MySQL57 on port 3306.
    Successfully added firewall rule.
    Ended configuration step: Updating firewallBeginning configuration step: Adjusting Windows service [if necessary]
    Attempting to grant Network Service require filesystem permissions.
    Granted permissions.
    Adding new service
    New service added
    Ended configuration step: Adjusting Windows service [if necessary]Beginning configuration step: Initializing Database [if necessary]
    Deleting Data folder shipped
    Attempting to run MySQL Server with --Initialize-insecure
    Running process: C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" --initialize-insecure=on --console
    Waiting for the server stops: C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" --initialize-insecure=on --console
    2016-12-05T05:01:21.331782Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
    2016-12-05T05:01:21.331782Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
    2016-12-05T05:01:24.644370Z 0 [Warning] InnoDB: New log files created, LSN=45790
    2016-12-05T05:01:25.488084Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
    mysqld: File '.\鍛嗙惔鐞?slow.log' not found (Errcode: 2 - No such file or directory)
    2016-12-05T05:01:25.675634Z 0 [ERROR] Could not use 鍛嗙惔鐞?slow.log for logging (error 2 - No such file or directory). Turning logging off for the server process. To turn it on again: fix the cause, then either restart the query logging by using "SET GLOBAL SLOW_QUERY_LOG=ON" or restart the MySQL server.
    2016-12-05T05:01:25.691205Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: dfb744d7-baa7-11e6-8b42-28d2442fc148.
    2016-12-05T05:01:25.753757Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
    2016-12-05T05:01:25.753757Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
    Finished initialize database
    Ended configuration step: Initializing Database [if necessary]Beginning configuration step: Starting Server
    Starting MySQL as a service
    大神们,怎么解决啊,欲哭无泪
      

  27.   

    没有.err文件  手动打开也打不开。我是第一次装MySql 怎么就有这种问题啊?  大神求助啊 弄了好几天了
      

  28.   

    安装不成功一定是没有卸载干净!安装不成功一定是没有卸载干净!安装不成功一定是没有卸载干净!重要的事情说三遍,连续安装了几次都不行,换了好几个安装包也不行,都打算装系统了,最后放手一搏,按照http://www.jb51.net/article/43789.htm的方式痛痛快快的删了一波,尤其是最后删除文件的时候,直接在计算机中检索mysql,将文件都删干净,然后重新安装,一次成功
      

  29.   

    也是遇到这个问题,自动执行到启动服务时卡住,手动启动失败,控制台未记录失败原因,且无法找到mysql错误文件。
    百度资料了一个半小时,重装了3次,在windows设置里切换到'开发者模式'后,一次性通过。