List:General Discussion« Previous MessageNext Message »
From:(Hal Date:January 4 2012 3:34am
Subject:Re: why does basic MySQLdump on db table fail with "Permission
denied", or else it creates a zero KB file
View as plain text  
;>>> 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 fileGovinda29 Dec
  • Re: why does basic MySQLdump on db table fail with "Permission denied",or else it creates a zero KB fileAndy Wallace29 Dec
  • Re: why does basic MySQLdump on db table fail with "Permission denied",or else it creates a zero KB fileReindl Harald29 Dec
    • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB fileGovinda29 Dec
      • Re: why does basic MySQLdump on db table fail with "Permission denied",or else it creates a zero KB fileReindl Harald29 Dec
        • Re: (off topic) why PATHhsv1 Jan
          • Re: (off topic) why PATHReindl Harald1 Jan
            • Re: (off topic) why PATHClaudio Nanni1 Jan
              • Re: (off topic) why PATHReindl Harald1 Jan
              • Re: (off topic) why PATHJohan De Meersman1 Jan
                • Re: (off topic) why PATHClaudio Nanni1 Jan
                  • Re: (off topic) why PATHReindl Harald1 Jan
                    • Re: (off topic) why PATHClaudio Nanni1 Jan
                      • Re: (off topic) why PATHReindl Harald1 Jan
                • Re: (off topic) why PATHReindl Harald1 Jan
Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB fileJan Steinman31 Dec
  • Re: why does basic MySQLdump on db table fail with "Permission denied",or else it creates a zero KB fileReindl Harald31 Dec
  • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB fileGovinda1 Jan
    • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB fileJan Steinman2 Jan
      • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB fileGovinda3 Jan
        • Re: why does basic MySQLdump on db table fail with "Permissiondenied", or else it creates a zero KB filehsv4 Jan
          • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB fileGovinda4 Jan
Re: (off topic) why PATHJan Steinman4 Jan
  • Re: (off topic) why PATHReindl Harald4 Jan