简体   繁体   English

Mysql.server启动错误

[英]Mysql.server start error

OS: Win 7 MySQL: 5.6.13 操作系统:Win 7 MySQL:5.6.13

I set my PATH to the bin folder already. 我已经将PATH设置为bin文件夹了。 When I'm in CMD and I type 'mysql', I can see that it's working. 当我使用CMD并键入“ mysql”时,可以看到它正在工作。 However, when I type 'mysql.server start' into the command, it gives this error: 但是,当我在命令中键入“ mysql.server start”时,会出现此错误:

'mysql.server' is not reconigzed as an internal or external command, operable program or batch file. “ mysql.server”未重新配置为内部或外部命令,可操作程序或批处理文件。

This is what I put in the PATH System Variable: 这是我在PATH系统变量中输入的内容:

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

Please help. 请帮忙。 I'm trying doing a tutorial to learn how to program Python but this is blocking my progress. 我正在尝试做一个教程来学习如何编程Python,但这阻碍了我的进步。

Thanks! 谢谢!

There are 2 cases when windows throws this error. Windows有两种情况抛出此错误。

1) the software is not installed 2) the software is installed but Windows can't find the executable 1)未安装软件2)已安装软件但Windows找不到可执行文件

I assume you've used Windows Explorer to verify that the mySQL software exists on your computer. 我假设您已经使用Windows资源管理器来验证您的计算机上是否存在mySQL软件。 If not, please do. 如果没有,请这样做。

You can check the PATH from the command line. 您可以从命令行检查PATH。 Just enter PATH. 只需输入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. 如果响应中未列出mySQL目录,并且您使用Windows Installer安装该软件,则可能需要重新安装它。 The installer should have modified the PATH and, if it didn't, there may be other stuff it had trouble with too. 安装程序应该已经修改了PATH,如果没有修改,则可能还有其他问题。 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目录添加到PATH,则可以通过开始->设置->控制面板->系统->高级选项卡->环境变量按钮来完成。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM