Installation: MYSQL version

I installed Mysql-community- in my machine and the installation indicated “Completed successful” but when I run this command [mysql --version] it tells me -> ‘mysql’ is not recognized as an internal or external command, operable program or batch file. Any one to help !

Hello Daud, kindly try installing mysql version 5.7, it will work Thanks

@gcliff I uninstalled and installed mysql version 5.7 but when I run the command [mysql --version], the same information as that of the above!

@kdaud , did you try @tendomart 's advise as given here ?

1 Like

Did you try the full path (i.e. “C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql” --version)? You may just need to add your MySQL bin directory to your Path system/user environment variable to be able to access it without the full path specified. Just remember you’ll need to open a new command prompt after saving changes to an environment variable for the changes to take effect.

@sjmckee! After setting up the path in the system variable, then I succeeded in installing MYSQL . Thanks to every one!