Help running MYSQLDUMP

I’m new to Infinity free and have successfully ported my website and sql database. However I have a script which runs a mysqldump daily which I can’t get working. partial extract below:

$command=‘mysqldump -h ’ .$mysqlHostName .’ -u ’ .$mysqlUserName .’ -p’ .$mysqlPassword .’ ’ .$mysqlDatabaseName .’ -r ’ .$mysqlExportPath;

echo “
$command
”;

exec($command,$output,$worked);

I get a NULL return which implies that the command has failed but no further information.

Any help gratefully received.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.