`

cannot create windows service for

    博客分类:
  • Sql
阅读更多
WebjxCom提示:MYSQL错误:cannot create windows service for mysql.error:0


今天上课给又总结了Blog的一些技巧,其中比较有成就感的就是如何实现“标题-分类名-博客名”,呵呵!接下来又有学生追着我问我MYSQL的安装问题,多亏是没上课,要不就卡住了,找了半天才发现问题的解决方法,MYSQL错误:cannot create windows service for mysql.error:0

安装新的MYSLQ数据库,安装好运行MySQL Server Instance Config Wizard,在最后一步却发现无法启动服务,出现这样的提示“cannot create windows service for mysql.error:0”!
解决方法如下:

原因:

安装mysql时可能产生cannot create windows service for mysql.error:0错误,错误的原因多数由于重新安装mysql或者对mydql升级,使用MySQL Configuration Wizard而产生.

解决方法:

首先停止MYSQL服务:



可以使用mysql以外的服务名,比如mysql11,等.但这不是最好的解决方法,我们可以使用windows的sc程序删除mysql服务.

C:>sc delete mysql

[SC] DeleteService SUCCESS

再重新使用MySQL Configuration Wizard,就不会有此错误了。

如果还是不行,重新启动一下电脑就OK了

我根据上面步骤操作,结果还是不行,可能实际情况不同吧。

最后我将MySQL完全卸载,再重新安装在不同目录下,运行成功。

该方法虽然笨,但很有效,呵呵。
分享到:
评论

相关推荐

    解决MySQL5.1安装时出现Cannot create windows service for mysql.error:0

    在安装MySQL 5.1的过程中,用户可能会遇到一个常见的错误提示:“Cannot create windows service for mysql.error:0”。这个错误表明MySQL服务无法创建,通常是由多种因素引起的,包括但不限于残留的旧版本MySQL组件...

    MySQL无法安装的解决方案

    错误提示“cannot create windows service for mysql error 0”意味着MySQL服务无法成功创建,可能是由于端口冲突、注册表残留或者服务未完全卸载等原因。 首先,当出现“cannot create windows service for mysql ...

    MySql 启动解决方法 Win7系统安装MySQL5.5.21图解

    由 cannot create windows service for mysql 所引发的一系列mysql启动问题解决办法 Win7系统安装MySQL5.5.21图解

    WINDOWS下MYSQL安装故障诊断与排除MYSQL综合 电脑资料.docx

    5. **创建服务失败**: 如果收到“Error: Cannot create Windows service for MySql. Error: 0”的错误,可能是因为尝试重新安装或升级MySQL而没有先卸载现有服务。配置向导检测到同名服务,因此安装失败。解决方法是...

    MySql安装卸载教程

    9. 如果出现“cannot create windows service for mysql.error:0”错误,可以通过 cmd 输入“sc delete mysql”命令来解除 MySql 服务。 MySql 配置问题解决方案: 在安装 MySql 过程中,可能会出现一些配置问题,...

    mysql安装教程 linux安装mysql Windows安装mysql_Mysql教程

    - **问题1:安装最后一页出现“cannot create Windows service for mysql. Error: 0”错误**: - 打开命令提示符,输入`sc delete mysql`来删除未注册的服务。 ```bash C:>sc delete mysql [SC] DeleteService ...

    Mysql安装注意事项[文].pdf

    当在安装过程中遇到“cannot create Windows service for MySQL. Error: 0”错误时,可以通过在命令行执行`sc delete mysql`来删除已存在的MySQL服务。这个命令会成功移除服务,然后你可以尝试重新安装或重启电脑后...

    MySql_5.5安装_卸载_权限初始化说明(超详细).docx

    在安装过程中,如果遇到“cannot create Windows service for mysql.error:0”错误,通常是因为服务创建失败。检查权限设置,确保以管理员身份运行安装程序,并确保没有其他正在运行的MySQL实例。 完成以上步骤后,...

    Mysql安装注意事项、安装失败的五个原因分析

    错误1:wizard安装最后一页,出现cannot create Windows service for mysql.error:0 错误 解决方法:打开命令行 输入 sc delete mysql 命令即  C:>sc delete mysql  [SC] DeleteService SUCCESS 重起电脑,或者...

    VclZip pro v3.10.1

    Ofcourse when using regular TStream decendants in D4,4,BCB4,and 5, you cannot create Zip64 archives. If you use Delphi 6, 7, or BCB 6, you don't have to worry about any of this as the normal TSTream ...

    win 3.11 for workgroup tcpip支持

    RELEASE NOTES FOR MICROSOFT(R) TCP/IP-32 FOR WINDOWS(TM) FOR WORKGROUPS 3.11 PLEASE READ THIS ENTIRE DOCUMENT General ------- This product is compatible with, and supported exclusively on, the ...

    process hancer 源码

    The ExtendedTools plugin is only available for Windows Vista and above. Disk and Network information provided by this plugin is only available when running Process Hacker with administrative rights. ...

    微软内部资料-SQL性能优化2

    The Windows 2000 cache manager provides data caching for both local and network file system drivers. By caching virtual blocks, the cache manager can reduce disk I/O and provide intelligent read ahead...

    联想旭日420AXP系统芯片组驱动

    This software is designed for the latest service pack releases of above operating systems. To verify which operating system has been installed onto the target system, follow the steps below: ...

    Turbo C++ 3.0[DISK]

    If you want to create backup copies of your disks, make sure that you put the backup on the same type of disk as the source. If you're backing up the 5 1/4 inch 1.2 Mb disk set, use only blank ...

    Turbo C++ 3.00[DISK]

    If you want to create backup copies of your disks, make sure that you put the backup on the same type of disk as the source. If you're backing up the 5 1/4 inch 1.2 Mb disk set, use only blank ...

    VB编程资源大全(英文源码 网络)

    Network Username, WorkdstationID, Windows version, build version and service pack info, the windows directory, the PDC name if you are logged onto an NT server and the time <END><br>62 , ...

    Bochs - The cross platform IA-32 (x86) emulator

    [2994370] Cannot build with 3DNow support - these S.F. feature requests were closed/implemented [1510142] Native Windows XP x64 Edition binary [1062553] select mouse (de)activation in bochsrc ...

Global site tag (gtag.js) - Google Analytics