;>>> 2012/01/03 11:52 -0500, Govinda >>>>
...which strikes me as odd (again, showing how new I am to driving from the CL), because I
do NOT see any entry like this:
/usr/local/mysql/bin/mysqldump
<<<<<<<<
Is "mysql" a symbolic link?
>>>>>>>>
..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 ....
| Thread |
|---|
| • why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB file | Govinda | 29 Dec |
| • Re: why does basic MySQLdump on db table fail with "Permission denied",or else it creates a zero KB file | Andy Wallace | 29 Dec |
| • Re: why does basic MySQLdump on db table fail with "Permission denied",or else it creates a zero KB file | Reindl Harald | 29 Dec |
| • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB file | Govinda | 29 Dec |
| • Re: why does basic MySQLdump on db table fail with "Permission denied",or else it creates a zero KB file | Reindl Harald | 29 Dec |
| • Re: (off topic) why PATH | hsv | 1 Jan |
| • Re: (off topic) why PATH | Reindl Harald | 1 Jan |
| • Re: (off topic) why PATH | Claudio Nanni | 1 Jan |
| • Re: (off topic) why PATH | Reindl Harald | 1 Jan |
| • Re: (off topic) why PATH | Johan De Meersman | 1 Jan |
| • Re: (off topic) why PATH | Claudio Nanni | 1 Jan |
| • Re: (off topic) why PATH | Reindl Harald | 1 Jan |
| • Re: (off topic) why PATH | Claudio Nanni | 1 Jan |
| • Re: (off topic) why PATH | Reindl Harald | 1 Jan |
| • Re: (off topic) why PATH | Reindl Harald | 1 Jan |
| • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB file | Jan Steinman | 31 Dec |
| • Re: why does basic MySQLdump on db table fail with "Permission denied",or else it creates a zero KB file | Reindl Harald | 31 Dec |
| • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB file | Govinda | 1 Jan |
| • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB file | Jan Steinman | 2 Jan |
| • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB file | Govinda | 3 Jan |
| • Re: why does basic MySQLdump on db table fail with "Permissiondenied", or else it creates a zero KB file | hsv | 4 Jan |
| • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB file | Govinda | 4 Jan |
| • Re: (off topic) why PATH | Jan Steinman | 4 Jan |
| • Re: (off topic) why PATH | Reindl Harald | 4 Jan |