zoukankan      html  css  js  c++  java
  • 如何解决MySQLAdministrator 启动报错

    运行环境:
    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

  • 相关阅读:
    Cmder配置
    uboot移植
    嵌入式产品开发技术问题
    flexbox布局
    使用PS过程
    STM32 使用 FreeRTOS过程记录
    TTL、RS232、RS485、串口
    用纯css改变下拉列表select框的默认样式
    task9暂存
    Hello World
  • 原文地址:https://www.cnblogs.com/luren/p/3571164.html
Copyright © 2011-2022 走看看