• Register
0 votes
48 views

Problem :

Facing following mysql path error
'mysql' is not recognized as an internal or external command, operable program or batch file.
6.9k 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.
36.1k 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.

3.9k points

Related questions

1 vote
1 answer 165 views
165 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 29 views
29 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
0 votes
1 answer 553 views
553 views
Problem : I am new to type script and unable to compile my type script file. When I try to hit Ctrl+Shift+B in my VS Code, I face below error " ‘Tsc' is not recognized as an internal or external command, operable program or batch file." I used ... C:\Users\mphil\AppData\Roaming\npm\node_modules\typescript\bin\tsc C:\Users\mphil\AppData\Roaming\npm `-- typescript@2.1.5 How to fix above error?
asked Feb 15 mphil 2.3k points
0 votes
1 answer 702 views
702 views
Problem : I am beginner in the node.js .Currently I am trying to install node.js using the below command npm install nodemon --save. But when I try to run a server with below command nodemon server.js. then in my terminal I face below error: “Nodemon is not recognized as internal or external command, operable program or batch file”
asked Feb 13 mphil 2.3k points
2 votes
2 answers 3.2K views
3.2K views
Problem : I am very new to Jupyter. I have already installed the Jupyter on my PC. My Configuration is as follows: Windows 10, python 3.x I used below command to install Jupyter. $ pip install jupyter The installation process completed without any issues. But ... “'jupyter' is not recognized as an internal or external command, operable program or batch file.” How to fix above error?
asked Feb 13 mphil 2.3k points