Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
/usr/bin/mysql doesn't exist
#1
I'd like to just type mysql into a Terminal window to access MySQL through a command line. To do so, I think mysql needs to live in /usr/bin/. Is that right?

If so, should I make an alias that points to /usr/bin/local/mysql/bin/mysql? If so, please tell me how, because command-option-drag doesn't work.

Thank you,

GtDS
Reply
#2
add /usr/local/mysql/bin to your path.

in bash:
PATH=/usr/local/mysql/bin:$PATH

in tsch:
setenv PATH /usr/local/mysql/bin:$PATH

Reply
#3
tcsh, not tsch.
I need to TCB.
Reply
#4
Now I'm hungry for TCBY.
Reply
#5
Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)