Home >Backend Development >PHP Tutorial >Configure mysql environment variables under win7

Configure mysql environment variables under win7

WBOY
WBOYOriginal
2016-08-08 09:21:212228browse

After reading online, many people have encountered this problem, that is, they cannot enter mysql on the command line, and it shows that it is not an internal command.

Today I will teach some novices how to configure environment variables.

The steps are as follows:

Right-click Computer - Properties - Advanced System Settings - Advanced ->Environment Variables->System Variables->Select PATH (in the system Find PATH under the variables) and double-click PATH

and then copy your mysql folder path (such as: D:wampbinmysqlmysql5.5.8bin) and press Enter.

The above introduces the configuration of mysql environment variables under win7, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn