Can't use cmd for MySQL server Windows 7 [closed]

I just installed MySQL community server on Windows 7, completed the configuration wizard making sure the command line is included but I just can't use it from cmd.

Entering mysql or MySql just returns an error that there is no such command.

Does anyone have any advice? Thank you.

-

closed as off topic by John Gardeniers, Ward, Brent Pabst, mdpc, Scott PackDec 21 '12 at 20:07

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

You will need to add the path to MySQL to your Windows PATH. You will probably need to exit CMD and start it again so the change takes effect.

Or, if you don't want to exit CMD, you can enter the following command at the prompt:

set PATH=%PATH%;c:\path\to\mysql


substituting the correct directory structure. That command will only affect the current session until it's exited.

-
just did that and it did not help :( –  Alex Jan 23 '11 at 1:35
ok, set PATH=%PATH%;c:\path\to\mysql did not work but ADDING PATH FROM MY COMPUTER SETTINGS helped. So now it works!!! Perfect –  Alex Jan 23 '11 at 1:43
@Alex: Does it work if you use the full path to start it at the command line? Something like c:\prompt> C:\path\to\mysql (enter the part after the prompt). –  Dennis Williamson Jan 23 '11 at 1:44