Re: Re: problem with exec()
| From: | Shane Caraveo | Date: | Mon, 08 Oct 2001 00:44:45 +0000 |
| Subject: | Re: Re: problem with exec() | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-9741@lists.php.net to get a copy of this message | ||
>
> $cmd="mysqldump -h $host --user=$user --password=\"$pass\" --opt
> $database > $backup_file";
>
> I'm gettting error return 2... which (according to 'man errno') means
> EACCESS or 'Permission denied'. How can something be denied in Win98 since
> it doesn't handle permissions, users and stuff?
Don't confuse unix with windows. error 2 == ERROR_FILE_NOT_FOUND
Likely, mysqldump is not in the system path.
Shane