The term ‘mysql’ is not recognized as the name of a cmdlet, function, script file, or operable program Error on VS Code terminal and GitBash on running mysql -u root -p.
The command is running properly on Windows terminal but error is occuring on GitBash and VS Code terminal.
Command running on Windows terminal
Error on GitBash
Error on VS Code
I searched for solution but solutions are regarding only Windows terminal and path on Environment variables which seems to no help as Windows terminal is working fine…
I found a solution which showed of adding MySQL Extension to VS Code and making the connection there but I want to run the query on VS code terminal.
Help….
Astha Gupta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.