OR, you can do what I usually do, and create a 'symbolic' link from
"/usr/local/bin" to programs 'outside' of your path, that you feel are safe to
run 'automatically' (i.e. "cd /usr/local/bin; ln -s
/usr/local/mysql/bin/mysql ")
Brian Warn wrote:
> Make sure in (solaris + ksh) /etc/profile or $HOME/.profile that
> /usr/local/mysql/bin is in the path for the user under which you run mysql:
>
> e.g.
> PATH=/usr/bin:/usr/local/bin:/usr/local/mysql/bin
>
> -Brian
>
> ----- Original Message -----
> From: "Ngu Nguyen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, April 10, 2001 1:05 PM
> Subject: environment setting
>
> Hi,
>
> I was wondering how I can run mysql commands without typing
> "/usr/local/mysql/bin/" up front. E.g. Just "mysql --user=... --host=... -p
> ......" instead of "/usr/local/mysql/bin/mysql --user=... --host=... -p
> ......"
>
> Thanks,
>
> Ngu
>
>