惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
Vercel News
Vercel News
Microsoft Azure Blog
Microsoft Azure Blog
爱范儿
爱范儿
N
Netflix TechBlog - Medium
Google DeepMind News
Google DeepMind News
H
Help Net Security
罗磊的独立博客
The Cloudflare Blog
J
Java Code Geeks
博客园 - 叶小钗
I
InfoQ
B
Blog
Blog — PlanetScale
Blog — PlanetScale
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
腾讯CDC
月光博客
月光博客
博客园_首页
雷峰网
雷峰网
M
MIT News - Artificial intelligence
博客园 - 【当耐特】
美团技术团队
T
The Blog of Author Tim Ferriss
博客园 - 司徒正美

博客园 - 路人

IE/Firefox每次刷新时自动检查网页更新,无需手动清空缓存的设置方法 如何在VS2010中使用Async功能? 转_关于图片的预加载 检索 COM 类工厂中 CLSID 为{}的组件时失败,原因是出现以下错误: 8007007e 在catch块中throw new Exception的意义 在线取色器-转 数据库查询优化-转 由于代码已经过优化或者本机框架位于调用堆栈之上,无法计算表达式 ... - 路人 - 博客园 SQLSERVER中日期显示样式(网络收集) DVD-RAM 格式化失败及视频文件分割软件 制作VCD/DVD方法 如何在oracle中导入dmp数据库文件 提高ASP.NET效率的几个方面 注册DLL的两种方法 InnerHtml and InnerText chr(10) chr(13) chr(32) vs2003错误求救 不能上网修复网络协议 存储过程1
如何解决MySQLAdministrator 启动报错
路人 · 2014-02-27 · via 博客园 - 路人

运行环境:
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时,就不会再报错了。

参考资料

mysqld --verbose --help 查看帮助
删除MySQL服务

C:/mysql-5.1.41-win32/bin>mysqld --remove MySQL
停止MySQL服务
net stop MySQL

参考:http://blog.csdn.net/joeduke/article/details/4938556