Re: Trying to put mysql PATH in Bash


Subject: Re: Trying to put mysql PATH in Bash
From: Jason Gallagher (jason@interragate.com)
Date: Wed Mar 14 2001 - 05:53:31 MST


Luis Martínez wrote:

> i´m trying to put the path to mysql in the .bash_profile so anytime I type
> mysql it starts (not the database server, that´s actually running) the
> client, instead of typing /usr/.../mysql
>
> How can I do it properly?
> Or where can I find a better explanation than one included in man bash?

If you know what the path to the 'mysql' executable is, add the
following line to your .bash_profile file:

export PATH=$PATH:/path/to/mysqldir

This won't have any effect until you do a fresh login or do "source
~/.bash_profile".

HTH,

Jason

-- 
Jason Gallagher                             mailto:jason@interragate.com
Interragate Ltd                              http://www.interragate.com/



This archive was generated by hypermail 2a24 : Wed Mar 14 2001 - 05:53:45 MST