[TxMt] SQL Bundle doesn't search my $PATH

Niko Dittmann ni-di at web.de
Tue Feb 14 22:35:39 UTC 2006


> I have mysql 4.1 installed on my machine in /usr/local/mysql/bin/.  
> It's up and running just fine.
>
> When I run the "Execute Selection as MySQL Query" command from  
> TextMate, I get the following error message:
>
> "Couldn't find mysql
> Locations searched:
> /Applications/TextMate.app/Contents/SharedSupport/Support/bin/ 
> CocoaDialog.app/Contents/MacOS
> /bin
> /sbin
> /usr/bin
> /usr/sbin
> /Applications/TextMate.app/Contents/SharedSupport/Support/bin"
>
> Any ideas?

hmm... perhaps you need "/usr/local/mysql/bin/" in your path. just  
put something like this into your .bashrc or .profile if you use bash:

export PATH=${PATH}:/Library/MySQL/bin

needs to be different, if you use another shell.

just an idea, though.

n.

-- 
____________________________
niko dittmann <ni-di at web.de>
____________________________




More information about the textmate mailing list