简体   繁体   中英

Mysql.server start error

OS: Win 7 MySQL: 5.6.13

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' is not reconigzed as an internal or external command, operable program or batch file.

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

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

Thanks!

There are 2 cases when windows throws this error.

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

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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