List:General Discussion« Previous MessageNext Message »
From:Anand Kumar Date:April 28 2010 7:16am
Subject:Re: installation
View as plain text  
Hi James,

Assuming your OS is linux ,you can add the mysql bin path in the environment
.By adding the entry in .profile of your home directory.

PATH=$PATH:/sbin:/usr/sbin:/usr/local/mysql/bin:
export PATH

Thanks
Anand

On Wed, Apr 28, 2010 at 11:44 AM, <jamesadrian@stripped>wrote:

> In the ReadMe.pdf that came with the mysql that I downloaded from
> mysql.com, there is this comment:
>
> ------
> You might want to add aliases to your shell's resource file to make it
> easier to access commonly used programs such as `mysql' and `mysqladmin'
> from the command line. The syntax for `bash' is this:
>
> alias mysql=/usr/local/mysql/bin/mysql
> alias mysqladmin=/usr/local/mysql/bin/mysqladmin
>
> Even better, add `/usr/local/mysql/bin' to your `PATH' environment
> variable. You can do this by modifying the appropriate startup file for
> your shell. For more information, see *Note invoking-programs.
> -------
>
> My questions are these:
>
> 1.    What is the appropriate startup file for my shell (which is bash
> on OS X)?
>
> 2.    Is this the best discussion group for the question above?
>
> ----------
>
> The installation comment said "For more information, see *Note
> invoking-programs" but I don't find such a note in all of the downloaded
> material.
>
> Thank you for your help.
>
> Jim Adrian
> jamesadrian@stripped
>
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    http://lists.mysql.com/mysql?unsub=1
>
>

Thread
installationjamesadrian28 Apr
  • Re: installationAnand Kumar28 Apr
RE: installationjamesadrian28 Apr