1

I am using Drush 6.0 for my Drupal 7.x site. When I run drush sqlq "select * from users where uid=1", it always shows the following error:

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

Why does it happen? How can I avoid it?

  • What system are you executing this on? – ratface Nov 14 '15 at 12:47
  • I am using it on my local machine (windows 7) – Fawwad Nov 14 '15 at 18:04
  • You will need MySQL command line tools installed locally. This is definitely not bundled with Windows. – ratface Nov 15 '15 at 17:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.