A. How do I set environment variables? /*win system to add MySQL run path (C:\wamp\bin\mysql\mysql5.5.20\bin) variable as an example */
Method One: "Temporary, only valid in the current CMD window"
Open cmd Command interface, enter set csc=%path%; C:\wamp\bin\mysql\mysql5.5.20\bin
Method Two: "Restart CMD window in effect"
My Computer >> Properties >> Advanced >> Environment Variables >> system variable >>path
Refer to the following settings:
Path Original value:%systemroot%\system32;%systemroot%;%systemroot%\system32\wbem;%systemroot%\system32\windowspowershell\ V1.0\; C:\Program Files (x86) \ati Technologies\ati. ace\core-static;
Modified value:%systemroot%\system32;%systemroot%;%systemroot%\system32\wbem;%systemroot%\system32\windowspowershell\ V1.0\; C:\Program Files (x86) \ati Technologies\ati. ace\core-static; C:\wamp\bin\mysql\mysql5.5.20\bin;
PS: Under the cmd window, you can use the echo%path% command to view environment variables
Miscellaneous _ Various It tips excerpts