最佳阅读效果请访问:
http://blog.donews.com/dukejoe/archive/2009/12/04/1575573.aspx
如何解决MySQLAdministrator 启动报错
首先说明一下我的环境:
Windows XP Home Edition SP3
MySQL 5.1.41 win32 ZIP 非安装版
MySQL GUI Tools 5.0(版本1.2.17.0)
运行MySQLAdministrator时提示:
服务器服务或配置文件不能找到。启动参数和服务节因此不可用。
Either the server service or the configuration file could not be found. Startup variables and service section are therefore disabled
我的解决办法如下:
C:/mysql-5.1.41-win32/bin>mysqld --install MySQL --defaults-file=c:/my.ini
Service successfully installed.
C:/mysql-5.1.41-win32/bin>net start MySQL
MySQL 服务正在启动 .
MySQL 服务已经启动成功。
C:/mysql-5.1.41-win32/bin>
1、通过执行mysqld --install命令可以安装MySQL服务,同时指定配置文件my.ini的位置
2、通过执行net start 命令,启动MySQL服务
这时你再运行MySQLAdministrator时,就不会再报错了。
如果还有什么问题,可以先检查一下您的环境是否与我一致,或者与有联系。
QQ:21807822
E-Mail:dukejoe@163.com
高宏伟
黑龙江省哈尔滨市
其它比较有用的信息,也可以参考一下。
mysqld --verbose --help 查看帮助
删除MySQL服务
C:/mysql-5.1.41-win32/bin>mysqld --remove MySQL
停止MySQL服务
net stop MySQL