• Register
0 votes
151 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

Please log in or register to answer this question.

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 2
3,890 points

Related questions

0 votes
1 answer 19 views
19 views
Problem: mysql is not recognized as an internal or external command.
asked Feb 18 charles mathews 5.5k points
0 votes
1 answer 184 views
184 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, 2020 azriel 590 points
0 votes
1 answer 4 views
4 views
Problem android' is not recognized as an internal or external command. Normally this can be fixed easily with a quick Google search, but I haven't found a single another user with this problem. Could someone tell me what the problem is?
asked 5 days ago neeraj 9.6k points
0 votes
1 answer 2 views
2 views
Problem: I'll make a submission for a response to my question. Please, I have searched the internet but have not found any useful material, and I am now having trouble continuing my studies.
asked Apr 1 rakib1 51.5k points
0 votes
1 answer 9 views
9 views
Problem: What are my options for dealing with this issue? pip is not recognized as an internal or external command operable program or batch file
asked Apr 1 rakib1 51.5k points
0 votes
1 answer 3 views
3 views
Problem: As I previously stated in my question, I am having difficulty learning. Could someone help assist me in completing my project?
asked Apr 1 rakib1 51.5k points
0 votes
1 answer 3 views
3 views
Problem: Do you have any suggestions about how I can resolve this? “Is not recognized as an internal or external command operable program or batch file windows 7”.
asked Apr 1 rakib1 51.5k points
0 votes
1 answer 6 views
6 views
Problem: I can't seem to find a solution; could you please help me “Ping is not recognized as an internal or external command operable program or batch file”?
asked Apr 1 rakib1 51.5k points
0 votes
1 answer 8 views
8 views
Problem: When I encountered this problem, I attempted to find a solution on the internet but was unable to find any useful details. If you read the above query and understand what the solution is, please cooperate with me- Thanks.
asked Apr 1 rakib1 51.5k points
0 votes
1 answer 3 views
3 views
Problem: I can't seem to find a solution; could you please help me “Javac is not recognized as an internal or external command operable program or batch file”?
asked Mar 30 tuhin1 48.4k points