Text Formatted Code
// Perform the backup if asked
if (isset ($_GET['mode']) &&
($_GET['mode'] == $LANG_DB_BACKUP['do_backup'])) {
if (is_dir ($_CONF['backup_path'])) {
$curdatetime = date ("Y_m_d_H_i_s");
$backupfile = "{$_CONF['backup_path']}geeklog_db_backup_{$curdatetime}.sql";
// here's my workaround
// just comment these lines :
//$command = $_DB_mysqldump_path . "-h$_DB_host";
//if (!empty ($_DB_pass)) {
// $command .= " -p\"$_DB_pass\"";
//}
//if (!empty ($_CONF['mysqldump_options'])) {
// $command .= ' ' . $_CONF['mysqldump_options'];
//}
//$command .= " $_DB_name > \"$backupfile\"";
$command = "/usr/bin/mysqldump -Q -h localhost -u'username' -p'strong password' DBName > ../../backups/geeklog_db_backup_{$curdatetime}.sql";
it 'll do the trick , just replace username and strong password with your stuff and leave the quotes ('