[Koha-bugs] [Bug 28471] New: koha-dump --schema-only does not work with mysqldump 8

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 27 12:13:00 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28471

            Bug ID: 28471
           Summary: koha-dump --schema-only does not work with mysqldump 8
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: jonathan.druart+koha at gmail.com
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 26947

With focal

  mysqldump: Couldn't execute 'SELECT COLUMN_NAME,                      
JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"')                FROM
information_schema.COLUMN_STATISTICS                WHERE SCHEMA_NAME =
'koha_kohadev' AND TABLE_NAME = 'account_credit_types';': Unknown table
'COLUMN_STATISTICS' in information_schema (1109)

But adding --column-statistics=0 (like suggested over the web) will break the
command when run with a lower version

  mysqldump: unknown variable 'column-statistics=0'


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26947
[Bug 26947] kohastructure.sql should be updated for each release
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list