installation
am 28.04.2010 08:14:08 von jamesadrian
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=3D/usr/local/mysql/bin/mysql
alias mysqladmin=3D/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:=20
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@globalfreeenterprise.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dgcdmg-mysql-2@m.gmane.o rg
Re: installation
am 28.04.2010 09:16:44 von anand kumar
--0016364d3283d83db5048546ca11
Content-Type: text/plain; charset=ISO-8859-1
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, 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@globalfreeenterprise.com
>
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=anand.srm@gmail.com
>
>
--0016364d3283d83db5048546ca11--