Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'mysql' is not recognized as an internal or external command, operable program or batch file

Tags:

mysql

Please help me.

D:\wamp>cd D:\wamp\bin\mysql\mysql5.6.17

D:\wamp\bin\mysql\mysql5.6.17>set path=%PATH%;D:\wamp\bin\mysql\mysql5.6.17

D:\wamp\bin\mysql\mysql5.6.17>mysql -u root -p 'mysql' is not recognized as an internal or external command, operable program or batch file.

D:\wamp\bin\mysql\mysql5.6.17>

like image 950
Vinothkumar Nataraj Avatar asked Jan 25 '26 17:01

Vinothkumar Nataraj


2 Answers

Maybe is the "bin" subdirectory missing in your path?

D:\wamp\bin\mysql\mysql5.6.17\bin
like image 197
Fredo Avatar answered Jan 28 '26 08:01

Fredo


It seems you have to specify the full path to the MySQL program itself (mysql.exe).

Use

D:\wamp\bin\mysql\mysql5.6.17\bin\mysql.exe -u username -p
like image 44
twist Avatar answered Jan 28 '26 07:01

twist