Anand,

Thank you for this very valuable information.  I created .profile at ~/
as you instructed.

I,m sorry I know so little but your answer makes me wonder why you wrote

/sbin:/usr/sbin:/usr/local/mysql/bin:

while the installation notes said only

/usr/local/mysql/bin

There is an extra /sbin:/usr/sbin: at the start and a  :   added to the
end.

Thank you for your help.


Jim Adrian
jamesadr...@globalfreeenterprise.com

> -------- Original Message --------
> Subject: Re: installation
> From: Anand Kumar <sanan...@gmail.com>
> Date: Wed, April 28, 2010 3:16 am
> To: jamesadr...@globalfreeenterprise.com
> Cc: mysql list <mysql@lists.mysql.com>
> 
> 
> 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, <jamesadr...@globalfreeenterprise.com>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
> > jamesadr...@globalfreeenterprise.com
> >
> >
> >
> > --
> > MySQL General Mailing List
> > For list archives: http://lists.mysql.com/mysql
> > To unsubscribe:    http://lists.mysql.com/mysql?unsub=anand....@gmail.com
> >
> >


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=arch...@jab.org

Reply via email to