mysql.server 启动错误 [英] Mysql.server start error

查看:62
本文介绍了mysql.server 启动错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

操作系统:Win 7MySQL:5.6.13

OS: Win 7 MySQL: 5.6.13

我已经将 PATH 设置为 bin 文件夹.当我在 CMD 中并输入mysql"时,我可以看到它正在运行.但是,当我在命令中键入 'mysql.server start' 时,会出现以下错误:

I set my PATH to the bin folder already. When I'm in CMD and I type 'mysql', I can see that it's working. However, when I type 'mysql.server start' into the command, it gives this error:

'mysql.server' 不是内部或外部命令,可运行的程序或批处理文件.

'mysql.server' is not reconigzed as an internal or external command, operable program or batch file.

这是我放在PATH系统变量中的内容:

This is what I put in the PATH System Variable:

;H:\Tuts Plus\220\mysql-5.6.13-winx64\mysql-5.6.13-winx64\bin

请帮忙.我正在尝试编写一个教程来学习如何编程 Python,但这阻碍了我的进步.

Please help. I'm trying doing a tutorial to learn how to program Python but this is blocking my progress.

谢谢!

推荐答案

windows 抛出这个错误有两种情况.

There are 2 cases when windows throws this error.

1) 软件未安装2) 软件已安装,但 Windows 找不到可执行文件

1) the software is not installed 2) the software is installed but Windows can't find the executable

我假设您已经使用 Windows 资源管理器来验证 mySQL 软件存在于您的计算机上.如果没有,请做.

I assume you've used Windows Explorer to verify that the mySQL software exists on your computer. If not, please do.

您可以从命令行检查 PATH.只需输入PATH.如果 mySQL 目录未在响应打印的内容中列出,并且您使用 Windows Installer 安装该软件,则您可能需要重新安装它.安装程序应该已经修改了 PATH,如果没有,可能还有其他问题.如果您想自己将 mySQL 目录添加到 PATH 中,您可以通过开始 -> 设置 -> 控制面板 -> 系统 -> 高级选项卡 -> 环境变量按钮.

You can check the PATH from the command line. Just enter PATH. If the mySQL directory isn't listed in what's printed in response, and you used the Windows Installer to install the software, you probably need to reinstall it. The installer should have modified the PATH and, if it didn't, there may be other stuff it had trouble with too. If you want to add the mySQL directory to the PATH yourself you can do it through Start -> Settings -> Control Panel -> System -> Advanced tab -> Environment Variables button.

这篇关于mysql.server 启动错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆