Re: [PHP-DB] mysqldump and OS X

2005-05-10 Thread Richard Dyce
On 10 May 2005, at 07:24, Constantin Brinzoi wrote: maybe you have to specify the full path to mysqldump like: passthru("/path/to/mysqldump --opt -h$dbhost -u$dbuser -p$dbpass $dbname It was worth a try - but no, changing the exec line to: exec("/usr/local/mysql-standard-4.1.7-apple-darwin7.5.0-p

[PHP-DB] mysqldump and OS X

2005-05-09 Thread Richard Dyce
Wonder if anyone out there can help? I'm trying to execute a mysql dump on my local Mac (running 10.4), and I'm running into an odd problem, possibly something to do with permissions or $PATH setup. Here's the code... $dbhost = 'localhost'; $dbuser = 'user'; $dbpass = 'blah'; $dbname