Error:Cannot create Windows service for MySql Error:0解决方案
Error: Cannot create Windows service for MySql. Error: 0
图示:
当你没有事先停止并卸载已有MySQL服务,并且使用MySQL Configuration Wizard(配置向导)重新安装或升级MySQL时,会遇到该问题。发生的原因是,当配置向导试图安装服务时,它发现已经有一个同名的服务。 www.2cto.com
解决该问题的一个方案是使用配置向导时选择mysql之外的其它服务名。这样可以正确安装新服务,但保留了原来的服务。但是这样不好,最好是卸掉不再使用的旧服务。
要想永远卸掉旧的MySQL服务,通过管理权限用户在命令行执行下面的命令:
[plain]
C:\>sc delete mysql
然后进入到删除程序页面,把mysql删除掉,再重新安装过
相关推荐
主要介绍了解决MySQL5.1安装时出现Cannot create windows service for mysql.error:0问题的方法
运行“MySQL Server Instance Config Wizard”时,总会出现“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 重起电脑,或者...
这篇文章主要涉及到在数据创建表时,遇到ERROR 1215 (HY000): Cannot add foreign key constraint 问题方面的内容,对于在数据创建表时,遇到同样问题感兴趣的同学可以参考一下。 一、问题的提出 创建两个表: ...
错误提示:Error: Can’t create/write to file ‘C:\WINDOWS\TEMP\#sql_738_0.MYD’ (Errcode: 17) Errno.: 1 问题分析: 1、C:\Windows\TEMP 文件夹权限不够,至少也要给出 USERS 组的可读可写权限; 2、C:\...
由 cannot create windows service for mysql 所引发的一系列mysql启动问题解决办法 Win7系统安装MySQL5.5.21图解
They can be turned off using the values 0, Off, False or No. ; An empty string can be denoted by simply not writing anything after the equal ; sign, or by using the None keyword: ; foo = ; sets foo...
-log-error=/usr/local/mysql/data/mysqld.log --pid-file=/usr/local/mysql/data/192.168.0.103.pid --socket=/usr/local/mysql/data/mysql.sock --port=3306 使用 之前的记住的 Wt#GeUu_q2oJ的密码,测试mysql的...
Cannot create TCP/IP socket(24).原因及解决办法
今天在配置服务器的时候提示这个问题Can't create/write to file,原来是php.ini中设置的tmp目录不存在
最近在工作中遇到一个问题,现将解决的方法分享出来供大家参考学习,下面这篇文章主要给大家介绍了关于MySQL启动时InnoDB引擎被禁用了的解决方法,需要的朋友们下面跟着小编来一起学习学习吧。
In file included from session_util.cpp:1:0: session_util.h:30:43: 错误:‘int32_t’不是一个类型名 static void gene_session_id(const int32_t app_id, const int64_t session_ip, std::string& session_id);...
* Due to a Windows Help engine limitation on Windows 98 and Millennium, the Help system Index tab will be empty if the index exceeds 32,767 keywords. If you encounter an empty Help Index tab after ...
Create TABLE `user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `userName` varchar(50) DEFAULT NULL, `userAge` int(11) DEFAULT NULL, `userAddress` varchar(200) DEFAULT NULL, PRIMARY KEY (`id`) ) ...