MySql server error

Hello all,

Please, I need assistance with “mysql”.
I have been following Mosh’s tutorial, but after installing mysql server and adding it to path, in the environment variables, I still get the error message below:

msql : The term ‘msql’ is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1

  • msql -u root -p
  •   + CategoryInfo          : ObjectNotFound: (msql:String) [], CommandNotFoundExcep 

Here is the screen shot for the environment variables:

I have done a lot of googling, but no luck yet.

Hi @pappy . Try changing your PATH entry to only C:\Program Files\MySQL\MySQL Server 8.0\bin. Remove the mysql.exe. A path variable should be exactly that, a path.

Hi Paul,
Thanks so much.
That works perfectly.

1 Like