[DBMS-MSSQL:11006#11007] MySQL backup error: unknown variable ‘column-statistics=0’

The following error message:

[DBMS-MSSQL:11006#11007] MySQL backup error: unknown variable ‘column-statistics=0’

means that the version of mysqldump utility used by SQLBackupAndFTP to create MySQL backup doesn’t support the –column-statistics parameter (it should be older than 8.0.2).

Hot to fix

  1. Update mysqldump utility used by SQLBackupAndFTP
  2. Specify a path to your MySQL Server bin folder
  3. Open the backup job settings and set the value of Generate Statistics Histograms parameter to Default if you don’t need to generate histogram statistics.

 

9 thoughts on “[DBMS-MSSQL:11006#11007] MySQL backup error: unknown variable ‘column-statistics=0’

  1. Hmm, I had this exception (Version 12.7.0 Pro), but ‘generate statistics histogram’ was set to false. And if I set this to true, the exception disappeared. I don’t really understand …

    1. Hi Dave,

      It depends on the version of MySQL Server you use. If the “true” value works for you, please use it.

  2. Hi, this happens when I schedule incremental backups.
    When I have the schedule set to full backups only it works. But the moment I enable incremental backups I get the error.

    1. Hello Stephen,

      Have you attempted to address the problem by following the suggestions outlined in the blog post?

      1. Yes (and a variety of variations on the instructions). That is why I posted this.

        Following the instructions in the post the full backup works. Incremental backups exhibit the same error/problem.

      2. Just wondering if there is any more feedback on this. It is making the product less than ideal as we have to do full backups every time rather than incrementals.

          1. Hi

            Was there a solution for this problem? I’m facing the same problem during the trial period.

            Thank you!

          2. Hello Michael,

            It appears that you are attempting to perform incremental backups using a remote connection. Unfortunately, this is not possible. Kindly install SQLBackupAndFTP on the same server where your MySQL Server is installed.

            Thank you!

Leave a Reply

Your email address will not be published. Required fields are marked *