0

I can't run a mysql command in mobaxterm, but when I try the same command in a cmd prompt, it works. Commands such as mysql -V, mysql -U admin -P, etc. What's wrong with mobaxterm?

It return: bash: mysql: command not found

Herb
  • 636
  • 1
  • 15
  • 29
m hanif f
  • 406
  • 1
  • 7
  • 20

1 Answers1

0

It sounds like you don't have mysql in your path in the MobaXterm shell.

Under the settings menu, go to configuration. In the terminal tab, the checkbox next to Use Windows PATH environment should be checked.

Herb
  • 636
  • 1
  • 15
  • 29