• When I try to generate a backup using WordPress SQL Backup I get the following message: Warning: exec() has been disabled for security reasons in /home/satyre08/public_html/wp-content/plugins/wordpress-sql-backup/sql_export.php on line 13.
    Line thirteen says this : exec(“mysqldump –opt -h” . DB_HOST . ” -u” . DB_USER . ” -p” . DB_PASSWORD . ” ” . DB_NAME . ” > ” . $backupfile . “”);
    I think I probably need to add in host, user, password and DB name. But I’m unsure of what to enter.
    Would DB Host be the URL of my blog? For DB User should I use the user name for my WordPress editor? My wordpress password for the password? I’m clueless about what to enter for DB Name.
    Please help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Anthony

    (@adzbierajewski)

    You are one of a group of people who’s hosts have the “exec()” command disabled. This command sends commands directly to the server. If I were you I would talk to your host about enabling it. Are you on shared hosting like GodDaddy or HostGator?

    Thread Starter satyre08

    (@satyre08)

    Ummm, I get my URL from GoDaddy but have another company for my host. I asked my host about enabling the exec() command and he said I’d have to ask the plugin writer or WordPress about how to enable it.

    Anthony

    (@adzbierajewski)

    I’m going to spend the night working on a fix, I’ll post back when it is complete.

    Anthony

    (@adzbierajewski)

    The new version allows you to use an alternative if available, just go and update to 5.0 .

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How Do I fix wordpress-sql-backup/sql_export.php on line 13?’ is closed to new replies.