• Register
0 votes
57 views

Problem :

Facing following mysql path error
'mysql' is not recognized as an internal or external command, operable program or batch file.
6 5 3
6,930 points

2 Answers

0 votes

Solution :

To resolve the path related issue simply type in command prompt :

set path=%PATH%;D:\xampp\mysql\bin;

Here my path started from D so I used D: , you can use C: or E:

enter image description here

And your issue must be resolved.
9 7 4
38,600 points
0 votes

It is assumed that the user has already installed MySQL on Windows operating system. The user is trying to access through the Windows command prompt and get the error “PHP is not recognized as the internal or external command” in the windows command prompt. The user needs to place the PHP folder to the location of the "System Environment Variable".

Copy to PHP folder location path:

In window 10 or any other operating system locate the folder like;

  • C > Xammp > PHP and copy the path of PHP folder.
  • Open control panel and click on “System Environment Variable”.
  • Open the “advance” tab and click on the “environment variables”.
  • On this dialog box select the “path” under “System Environment Variable”.
  • Click the Edit button.
  • On the new dialog box click the “new “ and paste the PHP folder location which already copied. The PHP folder location was “C:\xammp\php.
  • Click Ok and launch the "Window Command Prompt" and type following lines;
php –v

Note:

Before setting the path for your environment variable must test the folder from your command prompt and then execute the command. And also make sure you are opening the command prompt as an administrator mode.

11 5 1
3,890 points

Related questions

0 votes
1 answer 9 views
9 views
I installed WAMP on my computer. After the installation, I created my first php file. I wanted to test it by using the command prompt. php test.php But I got this error instead. 'php' is not recognized as an internal or external command, operable program ... don’t know what’s wrong because I followed the tutorial on how to install WAMP. Any help and guide will be greatly appreciated.
asked Oct 11 azriel 420 points
0 votes
0 answers 4 views
4 views
Hello colleagues, I really want to know How To Solve 'python' is not recognized as an internal or external command, operable program or batch file error. Thanks
asked 22 hours ago psandprop 640 points
0 votes
1 answer 10 views
10 views
When the above error appear in the command prompt and reasons behind it?
asked Oct 6 jagruthi 560 points
1 vote
1 answer 603 views
603 views
Problem: I installed flask in my system by running the command: pip install flask Collecting flask Downloading https://files.pythonhosted.org/packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl (94kB) |████████████████████████████████| ... operable program or batch file. Whats the problem running this can any one tell me? Thanks in advance.
asked May 12 samhaz 5k points
0 votes
1 answer 54 views
54 views
I am new to python programming. I am using atom IDE or atom editor for my python programs but every time I try to run a code or a script from my atom editor it gives me an error like : atom 'python' is not recognized as an internal or external command, operable ... and atom for 64 bit windows. Can anyone figure out what the problem really is and how can I solve this problem and run my code.
asked Mar 10 LizzyM 6.1k points