Adding mysql to my path

Davy Obdam info at davyobdam.com
Tue Jan 6 21:47:08 UTC 2004


On Tue, 2004-01-06 at 21:34, Bevan C. Bennett wrote:

> Go into /etc/profile.d
> For csh-style users, create a file mysql.csh that looks like:
> if ( "${path}" !~ */usr/local/mysql/bin* ) then
>          set path = ( $path /usr/local/mysql/bin )
> endif
> 
> For sh-style users, create mysql.sh containing:
> if ! echo ${PATH} | grep -q /usr/local/mysql/bin ; then
>          PATH=${PATH}:/usr/local/mysql/bin
> fi
> 
> I do something similar for the Sun Java JRE.

Thanks!

This works great

Best regards,

Davy Obdam
info at davyobdam.com





More information about the fedora-list mailing list