>> ..which I just (earlier this morning) changed to this:
>> export 
>> PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/mysql/bin/mysqldump:$PATH"

> You are missing a point, that the proper thing for PATH is directory (or 
> effective directory), not runfile in directory. This, therefore, is more 
> right:
> 
> PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/mysql/bin:$PATH
> 
> After this, surely, you can run "mysqldump" or "mysql" or "mysqlbinlog" or 
> ....

OK, yes, that makes sense.  Thanks.  Note though, then that 
'/usr/local/mysql/bin' path is redundant; it was already there (the preceding 
path).

I also discovered from researching the '/etc/paths.d' dir...  where one can 
store files named after commands one wants to run, whose contents is the paths 
to those commands.

I am now able to run "mysqldump" or "mysql" directly.  
Thanks to everyone who replied!

For the archives, should any newbie actually find this thread on topic for 
where he/she is stuck, please note this (another great resource for driving 
mysql, and everything else CL related) - 
http://superuser.com/

-Govinda
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql

Reply via email to