Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18127

Missing xwiki.xwikiproperties table with MariaDB 10.1 and utf8mb4

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 12.6.5
    • Old Core
    • Unknown

    Description

      The Hibernate initializer is skipping some table when using MariaDB 10.1 server. The bug was reproduced on Debian Stretch 9.13 which comes with MariaDB 10.1.47.

      It does not seems to be a setup issue since it does create most of the tables but some (lik ethe xwikiproperties one) are missing. It's not very clear why since Hibernate does not log the errors it got when it try to create the tables.

      It works fine with more recent versions of MariaDB (we have integration tests running with MariaDB 10.3 and 10.4) so not really sure what is the root cause yet but it's probably some incompatibility between the last version of the MariaDB connector or a bug in Hibernate.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: