<div dir="ltr">Also in order to make solving your problem a lot easier please next time include a subject in your post.<br><br>Thanks<br>James<br><br><div class="gmail_quote">On Mon, Mar 23, 2009 at 9:24 PM, Thomas Kaiser <span dir="ltr"><<a href="mailto:ubuntu@kaiser-linux.li">ubuntu@kaiser-linux.li</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">Walton Hoops wrote:<br>
> OK wise Ubuntu’ers.<br>
><br>
> So I’ve built MySQL from source as the version in the repository does<br>
> not support partitioning. Got it installed, running, all is well and<br>
> good…. Until…<br>
><br>
> root@grunt:/usr/local# mysql<br>
><br>
> bash: /usr/bin/mysql: No such file or directory<br>
><br>
> root@grunt:/usr/local# which mysql<br>
><br>
> /usr/local/bin/mysql<br>
><br>
> root@grunt:/usr/local# ls -l /usr/local/bin/mysql<br>
><br>
> -rwxr-xr-x 1 root root 340157 2009-03-23 11:48 /usr/local/bin/mysql<br>
><br>
> root@grunt:/usr/local# /usr/local/bin/mysql --password<br>
><br>
> Enter password:<br>
><br>
><br>
><br>
> Any idea why bash is trying to exec /usr/bin/mysql (which does not<br>
> exist), when which says it should be /usr/local/bin/mysql (which does<br>
> and works)?<br>
<br>
</div></div>Is "/usr/local/bin" in your $PATH variable?<br>
<br>
# echo $PATH<br>
should tell you. If yes, I don't know what is going wrong.<br>
<font color="#888888"><br>
Thomas<br>
</font><div><div></div><div class="h5"><br>
--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><br><a href="http://www.goldwatches.com/Watches.asp?Brand=71">http://www.goldwatches.com/Watches.asp?Brand=71</a> <br><br><br><br>
</div>